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 _parser = new pb::MessageParser(() => new KillProcessRequest()); + 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.MessagesReflection.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 KillProcessRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KillProcessRequest(KillProcessRequest other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KillProcessRequest Clone() { + return new KillProcessRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as KillProcessRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(KillProcessRequest 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(KillProcessRequest 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 + + } + + /// + //// Sends to any request which needs a execution status as response + //// usually step execution, hooks etc will return this + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExecutionStatusResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecutionStatusResponse()); + 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.MessagesReflection.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 ExecutionStatusResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutionStatusResponse(ExecutionStatusResponse other) : this() { + executionResult_ = other.executionResult_ != null ? other.executionResult_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutionStatusResponse Clone() { + return new ExecutionStatusResponse(this); + } + + /// Field number for the "executionResult" field. + public const int ExecutionResultFieldNumber = 1; + private global::Gauge.Messages.ProtoExecutionResult executionResult_; + /// + //// Holds the suite result after suite execution done. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoExecutionResult ExecutionResult { + get { return executionResult_; } + set { + executionResult_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExecutionStatusResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExecutionStatusResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ExecutionResult, other.ExecutionResult)) 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 (executionResult_ != null) hash ^= ExecutionResult.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 (executionResult_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ExecutionResult); + } + 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 (executionResult_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ExecutionResult); + } + 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 (executionResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExecutionResult); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExecutionStatusResponse other) { + if (other == null) { + return; + } + if (other.executionResult_ != null) { + if (executionResult_ == null) { + ExecutionResult = new global::Gauge.Messages.ProtoExecutionResult(); + } + ExecutionResult.MergeFrom(other.ExecutionResult); + } + _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 (executionResult_ == null) { + ExecutionResult = new global::Gauge.Messages.ProtoExecutionResult(); + } + input.ReadMessage(ExecutionResult); + 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 (executionResult_ == null) { + ExecutionResult = new global::Gauge.Messages.ProtoExecutionResult(); + } + input.ReadMessage(ExecutionResult); + break; + } + } + } + } + #endif + + } + + /// + //// Sent at start of Suite Execution. Tells the runner to execute `before_suite` hook. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExecutionStartingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecutionStartingRequest()); + 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.MessagesReflection.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 ExecutionStartingRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutionStartingRequest(ExecutionStartingRequest other) : this() { + currentExecutionInfo_ = other.currentExecutionInfo_ != null ? other.currentExecutionInfo_.Clone() : null; + suiteResult_ = other.suiteResult_ != null ? other.suiteResult_.Clone() : null; + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutionStartingRequest Clone() { + return new ExecutionStartingRequest(this); + } + + /// Field number for the "currentExecutionInfo" field. + public const int CurrentExecutionInfoFieldNumber = 1; + private global::Gauge.Messages.ExecutionInfo currentExecutionInfo_; + /// + //// Holds the current suite execution info. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionInfo CurrentExecutionInfo { + get { return currentExecutionInfo_; } + set { + currentExecutionInfo_ = value; + } + } + + /// Field number for the "suiteResult" field. + public const int SuiteResultFieldNumber = 2; + private global::Gauge.Messages.ProtoSuiteResult suiteResult_; + /// + //// Holds the suite result in execution starting. + //// Some fields will not be populated before execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoSuiteResult SuiteResult { + get { return suiteResult_; } + set { + suiteResult_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 3; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExecutionStartingRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExecutionStartingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentExecutionInfo, other.CurrentExecutionInfo)) return false; + if (!object.Equals(SuiteResult, other.SuiteResult)) return false; + if (Stream != other.Stream) 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 (currentExecutionInfo_ != null) hash ^= CurrentExecutionInfo.GetHashCode(); + if (suiteResult_ != null) hash ^= SuiteResult.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (suiteResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SuiteResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (suiteResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SuiteResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentExecutionInfo); + } + if (suiteResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SuiteResult); + } + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExecutionStartingRequest other) { + if (other == null) { + return; + } + if (other.currentExecutionInfo_ != null) { + if (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + CurrentExecutionInfo.MergeFrom(other.CurrentExecutionInfo); + } + if (other.suiteResult_ != null) { + if (suiteResult_ == null) { + SuiteResult = new global::Gauge.Messages.ProtoSuiteResult(); + } + SuiteResult.MergeFrom(other.SuiteResult); + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (suiteResult_ == null) { + SuiteResult = new global::Gauge.Messages.ProtoSuiteResult(); + } + input.ReadMessage(SuiteResult); + break; + } + case 24: { + Stream = 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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (suiteResult_ == null) { + SuiteResult = new global::Gauge.Messages.ProtoSuiteResult(); + } + input.ReadMessage(SuiteResult); + break; + } + case 24: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Sent at end of Suite Execution. Tells the runner to execute `after_suite` hook. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExecutionEndingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecutionEndingRequest()); + 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.MessagesReflection.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 ExecutionEndingRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutionEndingRequest(ExecutionEndingRequest other) : this() { + currentExecutionInfo_ = other.currentExecutionInfo_ != null ? other.currentExecutionInfo_.Clone() : null; + suiteResult_ = other.suiteResult_ != null ? other.suiteResult_.Clone() : null; + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutionEndingRequest Clone() { + return new ExecutionEndingRequest(this); + } + + /// Field number for the "currentExecutionInfo" field. + public const int CurrentExecutionInfoFieldNumber = 1; + private global::Gauge.Messages.ExecutionInfo currentExecutionInfo_; + /// + //// Holds the current suite execution info. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionInfo CurrentExecutionInfo { + get { return currentExecutionInfo_; } + set { + currentExecutionInfo_ = value; + } + } + + /// Field number for the "suiteResult" field. + public const int SuiteResultFieldNumber = 2; + private global::Gauge.Messages.ProtoSuiteResult suiteResult_; + /// + //// Holds the suite result in execution ending. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoSuiteResult SuiteResult { + get { return suiteResult_; } + set { + suiteResult_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 3; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExecutionEndingRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExecutionEndingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentExecutionInfo, other.CurrentExecutionInfo)) return false; + if (!object.Equals(SuiteResult, other.SuiteResult)) return false; + if (Stream != other.Stream) 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 (currentExecutionInfo_ != null) hash ^= CurrentExecutionInfo.GetHashCode(); + if (suiteResult_ != null) hash ^= SuiteResult.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (suiteResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SuiteResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (suiteResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SuiteResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentExecutionInfo); + } + if (suiteResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SuiteResult); + } + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExecutionEndingRequest other) { + if (other == null) { + return; + } + if (other.currentExecutionInfo_ != null) { + if (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + CurrentExecutionInfo.MergeFrom(other.CurrentExecutionInfo); + } + if (other.suiteResult_ != null) { + if (suiteResult_ == null) { + SuiteResult = new global::Gauge.Messages.ProtoSuiteResult(); + } + SuiteResult.MergeFrom(other.SuiteResult); + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (suiteResult_ == null) { + SuiteResult = new global::Gauge.Messages.ProtoSuiteResult(); + } + input.ReadMessage(SuiteResult); + break; + } + case 24: { + Stream = 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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (suiteResult_ == null) { + SuiteResult = new global::Gauge.Messages.ProtoSuiteResult(); + } + input.ReadMessage(SuiteResult); + break; + } + case 24: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Sent at start of Spec Execution. Tells the runner to execute `before_spec` hook. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SpecExecutionStartingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpecExecutionStartingRequest()); + 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.MessagesReflection.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 SpecExecutionStartingRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecExecutionStartingRequest(SpecExecutionStartingRequest other) : this() { + currentExecutionInfo_ = other.currentExecutionInfo_ != null ? other.currentExecutionInfo_.Clone() : null; + specResult_ = other.specResult_ != null ? other.specResult_.Clone() : null; + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecExecutionStartingRequest Clone() { + return new SpecExecutionStartingRequest(this); + } + + /// Field number for the "currentExecutionInfo" field. + public const int CurrentExecutionInfoFieldNumber = 1; + private global::Gauge.Messages.ExecutionInfo currentExecutionInfo_; + /// + //// Holds the current spec execution info. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionInfo CurrentExecutionInfo { + get { return currentExecutionInfo_; } + set { + currentExecutionInfo_ = value; + } + } + + /// Field number for the "specResult" field. + public const int SpecResultFieldNumber = 2; + private global::Gauge.Messages.ProtoSpecResult specResult_; + /// + //// Holds the specs result in spec execution starting. + //// Some fields will not be populated before execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoSpecResult SpecResult { + get { return specResult_; } + set { + specResult_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 3; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SpecExecutionStartingRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpecExecutionStartingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentExecutionInfo, other.CurrentExecutionInfo)) return false; + if (!object.Equals(SpecResult, other.SpecResult)) return false; + if (Stream != other.Stream) 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 (currentExecutionInfo_ != null) hash ^= CurrentExecutionInfo.GetHashCode(); + if (specResult_ != null) hash ^= SpecResult.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (specResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SpecResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (specResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SpecResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentExecutionInfo); + } + if (specResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpecResult); + } + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SpecExecutionStartingRequest other) { + if (other == null) { + return; + } + if (other.currentExecutionInfo_ != null) { + if (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + CurrentExecutionInfo.MergeFrom(other.CurrentExecutionInfo); + } + if (other.specResult_ != null) { + if (specResult_ == null) { + SpecResult = new global::Gauge.Messages.ProtoSpecResult(); + } + SpecResult.MergeFrom(other.SpecResult); + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (specResult_ == null) { + SpecResult = new global::Gauge.Messages.ProtoSpecResult(); + } + input.ReadMessage(SpecResult); + break; + } + case 24: { + Stream = 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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (specResult_ == null) { + SpecResult = new global::Gauge.Messages.ProtoSpecResult(); + } + input.ReadMessage(SpecResult); + break; + } + case 24: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Sent at end of Spec Execution. Tells the runner to execute `after_spec` hook. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SpecExecutionEndingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpecExecutionEndingRequest()); + 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.MessagesReflection.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 SpecExecutionEndingRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecExecutionEndingRequest(SpecExecutionEndingRequest other) : this() { + currentExecutionInfo_ = other.currentExecutionInfo_ != null ? other.currentExecutionInfo_.Clone() : null; + specResult_ = other.specResult_ != null ? other.specResult_.Clone() : null; + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecExecutionEndingRequest Clone() { + return new SpecExecutionEndingRequest(this); + } + + /// Field number for the "currentExecutionInfo" field. + public const int CurrentExecutionInfoFieldNumber = 1; + private global::Gauge.Messages.ExecutionInfo currentExecutionInfo_; + /// + //// Holds the current spec execution info. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionInfo CurrentExecutionInfo { + get { return currentExecutionInfo_; } + set { + currentExecutionInfo_ = value; + } + } + + /// Field number for the "specResult" field. + public const int SpecResultFieldNumber = 2; + private global::Gauge.Messages.ProtoSpecResult specResult_; + /// + //// Holds the specs result in spec execution ending. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoSpecResult SpecResult { + get { return specResult_; } + set { + specResult_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 3; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SpecExecutionEndingRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpecExecutionEndingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentExecutionInfo, other.CurrentExecutionInfo)) return false; + if (!object.Equals(SpecResult, other.SpecResult)) return false; + if (Stream != other.Stream) 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 (currentExecutionInfo_ != null) hash ^= CurrentExecutionInfo.GetHashCode(); + if (specResult_ != null) hash ^= SpecResult.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (specResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SpecResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (specResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(SpecResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentExecutionInfo); + } + if (specResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpecResult); + } + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SpecExecutionEndingRequest other) { + if (other == null) { + return; + } + if (other.currentExecutionInfo_ != null) { + if (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + CurrentExecutionInfo.MergeFrom(other.CurrentExecutionInfo); + } + if (other.specResult_ != null) { + if (specResult_ == null) { + SpecResult = new global::Gauge.Messages.ProtoSpecResult(); + } + SpecResult.MergeFrom(other.SpecResult); + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (specResult_ == null) { + SpecResult = new global::Gauge.Messages.ProtoSpecResult(); + } + input.ReadMessage(SpecResult); + break; + } + case 24: { + Stream = 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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (specResult_ == null) { + SpecResult = new global::Gauge.Messages.ProtoSpecResult(); + } + input.ReadMessage(SpecResult); + break; + } + case 24: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Sent at start of Scenario Execution. Tells the runner to execute `before_scenario` hook. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ScenarioExecutionStartingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScenarioExecutionStartingRequest()); + 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.MessagesReflection.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 ScenarioExecutionStartingRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioExecutionStartingRequest(ScenarioExecutionStartingRequest other) : this() { + currentExecutionInfo_ = other.currentExecutionInfo_ != null ? other.currentExecutionInfo_.Clone() : null; + scenarioResult_ = other.scenarioResult_ != null ? other.scenarioResult_.Clone() : null; + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioExecutionStartingRequest Clone() { + return new ScenarioExecutionStartingRequest(this); + } + + /// Field number for the "currentExecutionInfo" field. + public const int CurrentExecutionInfoFieldNumber = 1; + private global::Gauge.Messages.ExecutionInfo currentExecutionInfo_; + /// + //// Holds the current sceanrio execution info. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionInfo CurrentExecutionInfo { + get { return currentExecutionInfo_; } + set { + currentExecutionInfo_ = value; + } + } + + /// Field number for the "scenarioResult" field. + public const int ScenarioResultFieldNumber = 2; + private global::Gauge.Messages.ProtoScenarioResult scenarioResult_; + /// + //// Holds the scenarion result in scenarion execution starting. + //// Some fields will not be populated before execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoScenarioResult ScenarioResult { + get { return scenarioResult_; } + set { + scenarioResult_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 3; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ScenarioExecutionStartingRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ScenarioExecutionStartingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentExecutionInfo, other.CurrentExecutionInfo)) return false; + if (!object.Equals(ScenarioResult, other.ScenarioResult)) return false; + if (Stream != other.Stream) 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 (currentExecutionInfo_ != null) hash ^= CurrentExecutionInfo.GetHashCode(); + if (scenarioResult_ != null) hash ^= ScenarioResult.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (scenarioResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ScenarioResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (scenarioResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ScenarioResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentExecutionInfo); + } + if (scenarioResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ScenarioResult); + } + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ScenarioExecutionStartingRequest other) { + if (other == null) { + return; + } + if (other.currentExecutionInfo_ != null) { + if (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + CurrentExecutionInfo.MergeFrom(other.CurrentExecutionInfo); + } + if (other.scenarioResult_ != null) { + if (scenarioResult_ == null) { + ScenarioResult = new global::Gauge.Messages.ProtoScenarioResult(); + } + ScenarioResult.MergeFrom(other.ScenarioResult); + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (scenarioResult_ == null) { + ScenarioResult = new global::Gauge.Messages.ProtoScenarioResult(); + } + input.ReadMessage(ScenarioResult); + break; + } + case 24: { + Stream = 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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (scenarioResult_ == null) { + ScenarioResult = new global::Gauge.Messages.ProtoScenarioResult(); + } + input.ReadMessage(ScenarioResult); + break; + } + case 24: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Sent at end of Scenario Execution. Tells the runner to execute `after_scenario` hook. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ScenarioExecutionEndingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScenarioExecutionEndingRequest()); + 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.MessagesReflection.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 ScenarioExecutionEndingRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioExecutionEndingRequest(ScenarioExecutionEndingRequest other) : this() { + currentExecutionInfo_ = other.currentExecutionInfo_ != null ? other.currentExecutionInfo_.Clone() : null; + scenarioResult_ = other.scenarioResult_ != null ? other.scenarioResult_.Clone() : null; + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioExecutionEndingRequest Clone() { + return new ScenarioExecutionEndingRequest(this); + } + + /// Field number for the "currentExecutionInfo" field. + public const int CurrentExecutionInfoFieldNumber = 1; + private global::Gauge.Messages.ExecutionInfo currentExecutionInfo_; + /// + //// Holds the current scenario execution info. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionInfo CurrentExecutionInfo { + get { return currentExecutionInfo_; } + set { + currentExecutionInfo_ = value; + } + } + + /// Field number for the "scenarioResult" field. + public const int ScenarioResultFieldNumber = 2; + private global::Gauge.Messages.ProtoScenarioResult scenarioResult_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoScenarioResult ScenarioResult { + get { return scenarioResult_; } + set { + scenarioResult_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 3; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ScenarioExecutionEndingRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ScenarioExecutionEndingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentExecutionInfo, other.CurrentExecutionInfo)) return false; + if (!object.Equals(ScenarioResult, other.ScenarioResult)) return false; + if (Stream != other.Stream) 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 (currentExecutionInfo_ != null) hash ^= CurrentExecutionInfo.GetHashCode(); + if (scenarioResult_ != null) hash ^= ScenarioResult.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (scenarioResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ScenarioResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (scenarioResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(ScenarioResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentExecutionInfo); + } + if (scenarioResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ScenarioResult); + } + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ScenarioExecutionEndingRequest other) { + if (other == null) { + return; + } + if (other.currentExecutionInfo_ != null) { + if (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + CurrentExecutionInfo.MergeFrom(other.CurrentExecutionInfo); + } + if (other.scenarioResult_ != null) { + if (scenarioResult_ == null) { + ScenarioResult = new global::Gauge.Messages.ProtoScenarioResult(); + } + ScenarioResult.MergeFrom(other.ScenarioResult); + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (scenarioResult_ == null) { + ScenarioResult = new global::Gauge.Messages.ProtoScenarioResult(); + } + input.ReadMessage(ScenarioResult); + break; + } + case 24: { + Stream = 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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (scenarioResult_ == null) { + ScenarioResult = new global::Gauge.Messages.ProtoScenarioResult(); + } + input.ReadMessage(ScenarioResult); + break; + } + case 24: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Sent at start of Step Execution. Tells the runner to execute `before_step` hook. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepExecutionStartingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepExecutionStartingRequest()); + 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.MessagesReflection.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 StepExecutionStartingRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepExecutionStartingRequest(StepExecutionStartingRequest other) : this() { + currentExecutionInfo_ = other.currentExecutionInfo_ != null ? other.currentExecutionInfo_.Clone() : null; + stepResult_ = other.stepResult_ != null ? other.stepResult_.Clone() : null; + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepExecutionStartingRequest Clone() { + return new StepExecutionStartingRequest(this); + } + + /// Field number for the "currentExecutionInfo" field. + public const int CurrentExecutionInfoFieldNumber = 1; + private global::Gauge.Messages.ExecutionInfo currentExecutionInfo_; + /// + //// Holds the current step execution info. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionInfo CurrentExecutionInfo { + get { return currentExecutionInfo_; } + set { + currentExecutionInfo_ = value; + } + } + + /// Field number for the "stepResult" field. + public const int StepResultFieldNumber = 2; + private global::Gauge.Messages.ProtoStepResult stepResult_; + /// + //// Holds step result in step execution starting. + //// Some fields will not be populated before execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoStepResult StepResult { + get { return stepResult_; } + set { + stepResult_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 3; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StepExecutionStartingRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepExecutionStartingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentExecutionInfo, other.CurrentExecutionInfo)) return false; + if (!object.Equals(StepResult, other.StepResult)) return false; + if (Stream != other.Stream) 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 (currentExecutionInfo_ != null) hash ^= CurrentExecutionInfo.GetHashCode(); + if (stepResult_ != null) hash ^= StepResult.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (stepResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(StepResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (stepResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(StepResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentExecutionInfo); + } + if (stepResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepResult); + } + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StepExecutionStartingRequest other) { + if (other == null) { + return; + } + if (other.currentExecutionInfo_ != null) { + if (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + CurrentExecutionInfo.MergeFrom(other.CurrentExecutionInfo); + } + if (other.stepResult_ != null) { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + StepResult.MergeFrom(other.StepResult); + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + input.ReadMessage(StepResult); + break; + } + case 24: { + Stream = 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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + input.ReadMessage(StepResult); + break; + } + case 24: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Sent at end of Step Execution. Tells the runner to execute `after_step` hook. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepExecutionEndingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepExecutionEndingRequest()); + 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.MessagesReflection.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 StepExecutionEndingRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepExecutionEndingRequest(StepExecutionEndingRequest other) : this() { + currentExecutionInfo_ = other.currentExecutionInfo_ != null ? other.currentExecutionInfo_.Clone() : null; + stepResult_ = other.stepResult_ != null ? other.stepResult_.Clone() : null; + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepExecutionEndingRequest Clone() { + return new StepExecutionEndingRequest(this); + } + + /// Field number for the "currentExecutionInfo" field. + public const int CurrentExecutionInfoFieldNumber = 1; + private global::Gauge.Messages.ExecutionInfo currentExecutionInfo_; + /// + //// Holds the current step execution info. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionInfo CurrentExecutionInfo { + get { return currentExecutionInfo_; } + set { + currentExecutionInfo_ = value; + } + } + + /// Field number for the "stepResult" field. + public const int StepResultFieldNumber = 2; + private global::Gauge.Messages.ProtoStepResult stepResult_; + /// + //// Holds step result in step execution ending. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoStepResult StepResult { + get { return stepResult_; } + set { + stepResult_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 3; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StepExecutionEndingRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepExecutionEndingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentExecutionInfo, other.CurrentExecutionInfo)) return false; + if (!object.Equals(StepResult, other.StepResult)) return false; + if (Stream != other.Stream) 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 (currentExecutionInfo_ != null) hash ^= CurrentExecutionInfo.GetHashCode(); + if (stepResult_ != null) hash ^= StepResult.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (stepResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(StepResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (stepResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(StepResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentExecutionInfo); + } + if (stepResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepResult); + } + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StepExecutionEndingRequest other) { + if (other == null) { + return; + } + if (other.currentExecutionInfo_ != null) { + if (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + CurrentExecutionInfo.MergeFrom(other.CurrentExecutionInfo); + } + if (other.stepResult_ != null) { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + StepResult.MergeFrom(other.StepResult); + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + input.ReadMessage(StepResult); + break; + } + case 24: { + Stream = 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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + input.ReadMessage(StepResult); + break; + } + case 24: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Sent at start of Concept Execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConceptExecutionStartingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConceptExecutionStartingRequest()); + 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.MessagesReflection.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 ConceptExecutionStartingRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConceptExecutionStartingRequest(ConceptExecutionStartingRequest other) : this() { + currentExecutionInfo_ = other.currentExecutionInfo_ != null ? other.currentExecutionInfo_.Clone() : null; + stepResult_ = other.stepResult_ != null ? other.stepResult_.Clone() : null; + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConceptExecutionStartingRequest Clone() { + return new ConceptExecutionStartingRequest(this); + } + + /// Field number for the "currentExecutionInfo" field. + public const int CurrentExecutionInfoFieldNumber = 1; + private global::Gauge.Messages.ExecutionInfo currentExecutionInfo_; + /// + //// Holds the current step execution info. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionInfo CurrentExecutionInfo { + get { return currentExecutionInfo_; } + set { + currentExecutionInfo_ = value; + } + } + + /// Field number for the "stepResult" field. + public const int StepResultFieldNumber = 2; + private global::Gauge.Messages.ProtoStepResult stepResult_; + /// + //// Holds step result in step execution starting. + //// Some fields will not be populated before execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoStepResult StepResult { + get { return stepResult_; } + set { + stepResult_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 3; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConceptExecutionStartingRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConceptExecutionStartingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentExecutionInfo, other.CurrentExecutionInfo)) return false; + if (!object.Equals(StepResult, other.StepResult)) return false; + if (Stream != other.Stream) 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 (currentExecutionInfo_ != null) hash ^= CurrentExecutionInfo.GetHashCode(); + if (stepResult_ != null) hash ^= StepResult.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (stepResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(StepResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (stepResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(StepResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentExecutionInfo); + } + if (stepResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepResult); + } + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConceptExecutionStartingRequest other) { + if (other == null) { + return; + } + if (other.currentExecutionInfo_ != null) { + if (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + CurrentExecutionInfo.MergeFrom(other.CurrentExecutionInfo); + } + if (other.stepResult_ != null) { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + StepResult.MergeFrom(other.StepResult); + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + input.ReadMessage(StepResult); + break; + } + case 24: { + Stream = 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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + input.ReadMessage(StepResult); + break; + } + case 24: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Sent at end of Concept Execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ConceptExecutionEndingRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ConceptExecutionEndingRequest()); + 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.MessagesReflection.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 ConceptExecutionEndingRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConceptExecutionEndingRequest(ConceptExecutionEndingRequest other) : this() { + currentExecutionInfo_ = other.currentExecutionInfo_ != null ? other.currentExecutionInfo_.Clone() : null; + stepResult_ = other.stepResult_ != null ? other.stepResult_.Clone() : null; + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ConceptExecutionEndingRequest Clone() { + return new ConceptExecutionEndingRequest(this); + } + + /// Field number for the "currentExecutionInfo" field. + public const int CurrentExecutionInfoFieldNumber = 1; + private global::Gauge.Messages.ExecutionInfo currentExecutionInfo_; + /// + //// Holds the current step execution info. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionInfo CurrentExecutionInfo { + get { return currentExecutionInfo_; } + set { + currentExecutionInfo_ = value; + } + } + + /// Field number for the "stepResult" field. + public const int StepResultFieldNumber = 2; + private global::Gauge.Messages.ProtoStepResult stepResult_; + /// + //// Holds step result in step execution ending. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoStepResult StepResult { + get { return stepResult_; } + set { + stepResult_ = value; + } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 3; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ConceptExecutionEndingRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ConceptExecutionEndingRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentExecutionInfo, other.CurrentExecutionInfo)) return false; + if (!object.Equals(StepResult, other.StepResult)) return false; + if (Stream != other.Stream) 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 (currentExecutionInfo_ != null) hash ^= CurrentExecutionInfo.GetHashCode(); + if (stepResult_ != null) hash ^= StepResult.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (stepResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(StepResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentExecutionInfo); + } + if (stepResult_ != null) { + output.WriteRawTag(18); + output.WriteMessage(StepResult); + } + if (Stream != 0) { + output.WriteRawTag(24); + output.WriteInt32(Stream); + } + 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 (currentExecutionInfo_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentExecutionInfo); + } + if (stepResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepResult); + } + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ConceptExecutionEndingRequest other) { + if (other == null) { + return; + } + if (other.currentExecutionInfo_ != null) { + if (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + CurrentExecutionInfo.MergeFrom(other.CurrentExecutionInfo); + } + if (other.stepResult_ != null) { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + StepResult.MergeFrom(other.StepResult); + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + input.ReadMessage(StepResult); + break; + } + case 24: { + Stream = 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 (currentExecutionInfo_ == null) { + CurrentExecutionInfo = new global::Gauge.Messages.ExecutionInfo(); + } + input.ReadMessage(CurrentExecutionInfo); + break; + } + case 18: { + if (stepResult_ == null) { + StepResult = new global::Gauge.Messages.ProtoStepResult(); + } + input.ReadMessage(StepResult); + break; + } + case 24: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Contains command line arguments which passed by user during execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExecutionArg : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecutionArg()); + 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.MessagesReflection.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 ExecutionArg() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutionArg(ExecutionArg other) : this() { + flagName_ = other.flagName_; + flagValue_ = other.flagValue_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutionArg Clone() { + return new ExecutionArg(this); + } + + /// Field number for the "flagName" field. + public const int FlagNameFieldNumber = 1; + private string flagName_ = ""; + /// + //// Holds the flag name passed from command line. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FlagName { + get { return flagName_; } + set { + flagName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "flagValue" field. + public const int FlagValueFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_flagValue_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField flagValue_ = new pbc::RepeatedField(); + /// + //// Holds the flag value passed from command line. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FlagValue { + get { return flagValue_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExecutionArg); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExecutionArg other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FlagName != other.FlagName) return false; + if(!flagValue_.Equals(other.flagValue_)) 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 (FlagName.Length != 0) hash ^= FlagName.GetHashCode(); + hash ^= flagValue_.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 (FlagName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FlagName); + } + flagValue_.WriteTo(output, _repeated_flagValue_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 (FlagName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FlagName); + } + flagValue_.WriteTo(ref output, _repeated_flagValue_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 (FlagName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FlagName); + } + size += flagValue_.CalculateSize(_repeated_flagValue_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExecutionArg other) { + if (other == null) { + return; + } + if (other.FlagName.Length != 0) { + FlagName = other.FlagName; + } + flagValue_.Add(other.flagValue_); + _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: { + FlagName = input.ReadString(); + break; + } + case 18: { + flagValue_.AddEntriesFrom(input, _repeated_flagValue_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: { + FlagName = input.ReadString(); + break; + } + case 18: { + flagValue_.AddEntriesFrom(ref input, _repeated_flagValue_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Contains details of the execution. + //// Depending on the context (Step, Scenario, Spec or Suite), the respective fields are set. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExecutionInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecutionInfo()); + 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.MessagesReflection.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 ExecutionInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutionInfo(ExecutionInfo other) : this() { + currentSpec_ = other.currentSpec_ != null ? other.currentSpec_.Clone() : null; + currentScenario_ = other.currentScenario_ != null ? other.currentScenario_.Clone() : null; + currentStep_ = other.currentStep_ != null ? other.currentStep_.Clone() : null; + stacktrace_ = other.stacktrace_; + projectName_ = other.projectName_; + executionArgs_ = other.executionArgs_.Clone(); + numberOfExecutionStreams_ = other.numberOfExecutionStreams_; + runnerId_ = other.runnerId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecutionInfo Clone() { + return new ExecutionInfo(this); + } + + /// Field number for the "currentSpec" field. + public const int CurrentSpecFieldNumber = 1; + private global::Gauge.Messages.SpecInfo currentSpec_; + /// + //// Holds the information of the current Spec. Valid in context of Spec execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.SpecInfo CurrentSpec { + get { return currentSpec_; } + set { + currentSpec_ = value; + } + } + + /// Field number for the "currentScenario" field. + public const int CurrentScenarioFieldNumber = 2; + private global::Gauge.Messages.ScenarioInfo currentScenario_; + /// + //// Holds the information of the current Scenario. Valid in context of Scenario execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ScenarioInfo CurrentScenario { + get { return currentScenario_; } + set { + currentScenario_ = value; + } + } + + /// Field number for the "currentStep" field. + public const int CurrentStepFieldNumber = 3; + private global::Gauge.Messages.StepInfo currentStep_; + /// + //// Holds the information of the current Step. Valid in context of Step execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepInfo CurrentStep { + get { return currentStep_; } + set { + currentStep_ = value; + } + } + + /// Field number for the "stacktrace" field. + public const int StacktraceFieldNumber = 4; + private string stacktrace_ = ""; + /// + //// Stacktrace of the execution. Valid only if there is an error in execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Stacktrace { + get { return stacktrace_; } + set { + stacktrace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "projectName" field. + public const int ProjectNameFieldNumber = 5; + private string projectName_ = ""; + /// + //// Holds the project name + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ProjectName { + get { return projectName_; } + set { + projectName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "ExecutionArgs" field. + public const int ExecutionArgsFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_executionArgs_codec + = pb::FieldCodec.ForMessage(50, global::Gauge.Messages.ExecutionArg.Parser); + private readonly pbc::RepeatedField executionArgs_ = new pbc::RepeatedField(); + /// + //// Holds the command line arguments. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ExecutionArgs { + get { return executionArgs_; } + } + + /// Field number for the "numberOfExecutionStreams" field. + public const int NumberOfExecutionStreamsFieldNumber = 7; + private int numberOfExecutionStreams_; + /// + //// Holds the number of running execution streams. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NumberOfExecutionStreams { + get { return numberOfExecutionStreams_; } + set { + numberOfExecutionStreams_ = value; + } + } + + /// Field number for the "runnerId" field. + public const int RunnerIdFieldNumber = 8; + private int runnerId_; + /// + //// Holds the runner id for parallel execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int RunnerId { + get { return runnerId_; } + set { + runnerId_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExecutionInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExecutionInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(CurrentSpec, other.CurrentSpec)) return false; + if (!object.Equals(CurrentScenario, other.CurrentScenario)) return false; + if (!object.Equals(CurrentStep, other.CurrentStep)) return false; + if (Stacktrace != other.Stacktrace) return false; + if (ProjectName != other.ProjectName) return false; + if(!executionArgs_.Equals(other.executionArgs_)) return false; + if (NumberOfExecutionStreams != other.NumberOfExecutionStreams) return false; + if (RunnerId != other.RunnerId) 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 (currentSpec_ != null) hash ^= CurrentSpec.GetHashCode(); + if (currentScenario_ != null) hash ^= CurrentScenario.GetHashCode(); + if (currentStep_ != null) hash ^= CurrentStep.GetHashCode(); + if (Stacktrace.Length != 0) hash ^= Stacktrace.GetHashCode(); + if (ProjectName.Length != 0) hash ^= ProjectName.GetHashCode(); + hash ^= executionArgs_.GetHashCode(); + if (NumberOfExecutionStreams != 0) hash ^= NumberOfExecutionStreams.GetHashCode(); + if (RunnerId != 0) hash ^= RunnerId.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 (currentSpec_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentSpec); + } + if (currentScenario_ != null) { + output.WriteRawTag(18); + output.WriteMessage(CurrentScenario); + } + if (currentStep_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CurrentStep); + } + if (Stacktrace.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Stacktrace); + } + if (ProjectName.Length != 0) { + output.WriteRawTag(42); + output.WriteString(ProjectName); + } + executionArgs_.WriteTo(output, _repeated_executionArgs_codec); + if (NumberOfExecutionStreams != 0) { + output.WriteRawTag(56); + output.WriteInt32(NumberOfExecutionStreams); + } + if (RunnerId != 0) { + output.WriteRawTag(64); + output.WriteInt32(RunnerId); + } + 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 (currentSpec_ != null) { + output.WriteRawTag(10); + output.WriteMessage(CurrentSpec); + } + if (currentScenario_ != null) { + output.WriteRawTag(18); + output.WriteMessage(CurrentScenario); + } + if (currentStep_ != null) { + output.WriteRawTag(26); + output.WriteMessage(CurrentStep); + } + if (Stacktrace.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Stacktrace); + } + if (ProjectName.Length != 0) { + output.WriteRawTag(42); + output.WriteString(ProjectName); + } + executionArgs_.WriteTo(ref output, _repeated_executionArgs_codec); + if (NumberOfExecutionStreams != 0) { + output.WriteRawTag(56); + output.WriteInt32(NumberOfExecutionStreams); + } + if (RunnerId != 0) { + output.WriteRawTag(64); + output.WriteInt32(RunnerId); + } + 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 (currentSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentSpec); + } + if (currentScenario_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentScenario); + } + if (currentStep_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(CurrentStep); + } + if (Stacktrace.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Stacktrace); + } + if (ProjectName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ProjectName); + } + size += executionArgs_.CalculateSize(_repeated_executionArgs_codec); + if (NumberOfExecutionStreams != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumberOfExecutionStreams); + } + if (RunnerId != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(RunnerId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExecutionInfo other) { + if (other == null) { + return; + } + if (other.currentSpec_ != null) { + if (currentSpec_ == null) { + CurrentSpec = new global::Gauge.Messages.SpecInfo(); + } + CurrentSpec.MergeFrom(other.CurrentSpec); + } + if (other.currentScenario_ != null) { + if (currentScenario_ == null) { + CurrentScenario = new global::Gauge.Messages.ScenarioInfo(); + } + CurrentScenario.MergeFrom(other.CurrentScenario); + } + if (other.currentStep_ != null) { + if (currentStep_ == null) { + CurrentStep = new global::Gauge.Messages.StepInfo(); + } + CurrentStep.MergeFrom(other.CurrentStep); + } + if (other.Stacktrace.Length != 0) { + Stacktrace = other.Stacktrace; + } + if (other.ProjectName.Length != 0) { + ProjectName = other.ProjectName; + } + executionArgs_.Add(other.executionArgs_); + if (other.NumberOfExecutionStreams != 0) { + NumberOfExecutionStreams = other.NumberOfExecutionStreams; + } + if (other.RunnerId != 0) { + RunnerId = other.RunnerId; + } + _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 (currentSpec_ == null) { + CurrentSpec = new global::Gauge.Messages.SpecInfo(); + } + input.ReadMessage(CurrentSpec); + break; + } + case 18: { + if (currentScenario_ == null) { + CurrentScenario = new global::Gauge.Messages.ScenarioInfo(); + } + input.ReadMessage(CurrentScenario); + break; + } + case 26: { + if (currentStep_ == null) { + CurrentStep = new global::Gauge.Messages.StepInfo(); + } + input.ReadMessage(CurrentStep); + break; + } + case 34: { + Stacktrace = input.ReadString(); + break; + } + case 42: { + ProjectName = input.ReadString(); + break; + } + case 50: { + executionArgs_.AddEntriesFrom(input, _repeated_executionArgs_codec); + break; + } + case 56: { + NumberOfExecutionStreams = input.ReadInt32(); + break; + } + case 64: { + RunnerId = 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 (currentSpec_ == null) { + CurrentSpec = new global::Gauge.Messages.SpecInfo(); + } + input.ReadMessage(CurrentSpec); + break; + } + case 18: { + if (currentScenario_ == null) { + CurrentScenario = new global::Gauge.Messages.ScenarioInfo(); + } + input.ReadMessage(CurrentScenario); + break; + } + case 26: { + if (currentStep_ == null) { + CurrentStep = new global::Gauge.Messages.StepInfo(); + } + input.ReadMessage(CurrentStep); + break; + } + case 34: { + Stacktrace = input.ReadString(); + break; + } + case 42: { + ProjectName = input.ReadString(); + break; + } + case 50: { + executionArgs_.AddEntriesFrom(ref input, _repeated_executionArgs_codec); + break; + } + case 56: { + NumberOfExecutionStreams = input.ReadInt32(); + break; + } + case 64: { + RunnerId = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Contains details of the Spec execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SpecInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpecInfo()); + 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.MessagesReflection.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 SpecInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecInfo(SpecInfo other) : this() { + name_ = other.name_; + fileName_ = other.fileName_; + isFailed_ = other.isFailed_; + tags_ = other.tags_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecInfo Clone() { + return new SpecInfo(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + //// Name of the current Spec being executed. + /// + [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 "fileName" field. + public const int FileNameFieldNumber = 2; + private string fileName_ = ""; + /// + //// Full File path containing the current Spec being executed. + /// + [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 "isFailed" field. + public const int IsFailedFieldNumber = 3; + private bool isFailed_; + /// + //// Flag to indicate if the current Spec execution failed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsFailed { + get { return isFailed_; } + set { + isFailed_ = value; + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_tags_codec + = pb::FieldCodec.ForString(34); + private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); + /// + //// Tags relevant to the current Spec execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tags { + get { return tags_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SpecInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpecInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (FileName != other.FileName) return false; + if (IsFailed != other.IsFailed) return false; + if(!tags_.Equals(other.tags_)) 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 (FileName.Length != 0) hash ^= FileName.GetHashCode(); + if (IsFailed != false) hash ^= IsFailed.GetHashCode(); + hash ^= tags_.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 (FileName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FileName); + } + if (IsFailed != false) { + output.WriteRawTag(24); + output.WriteBool(IsFailed); + } + tags_.WriteTo(output, _repeated_tags_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 (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (FileName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FileName); + } + if (IsFailed != false) { + output.WriteRawTag(24); + output.WriteBool(IsFailed); + } + tags_.WriteTo(ref output, _repeated_tags_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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (FileName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName); + } + if (IsFailed != false) { + size += 1 + 1; + } + size += tags_.CalculateSize(_repeated_tags_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SpecInfo other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.FileName.Length != 0) { + FileName = other.FileName; + } + if (other.IsFailed != false) { + IsFailed = other.IsFailed; + } + tags_.Add(other.tags_); + _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: { + FileName = input.ReadString(); + break; + } + case 24: { + IsFailed = input.ReadBool(); + break; + } + case 34: { + tags_.AddEntriesFrom(input, _repeated_tags_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: { + Name = input.ReadString(); + break; + } + case 18: { + FileName = input.ReadString(); + break; + } + case 24: { + IsFailed = input.ReadBool(); + break; + } + case 34: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Contains details of the Scenario execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ScenarioInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScenarioInfo()); + 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.MessagesReflection.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 ScenarioInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioInfo(ScenarioInfo other) : this() { + name_ = other.name_; + isFailed_ = other.isFailed_; + tags_ = other.tags_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioInfo Clone() { + return new ScenarioInfo(this); + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; + /// + //// Name of the current Scenario being executed. + /// + [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 "isFailed" field. + public const int IsFailedFieldNumber = 2; + private bool isFailed_; + /// + //// Flag to indicate if the current Scenario execution failed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsFailed { + get { return isFailed_; } + set { + isFailed_ = value; + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_tags_codec + = pb::FieldCodec.ForString(26); + private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); + /// + //// Tags relevant to the current Scenario execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tags { + get { return tags_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ScenarioInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ScenarioInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Name != other.Name) return false; + if (IsFailed != other.IsFailed) return false; + if(!tags_.Equals(other.tags_)) 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 (IsFailed != false) hash ^= IsFailed.GetHashCode(); + hash ^= tags_.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 (IsFailed != false) { + output.WriteRawTag(16); + output.WriteBool(IsFailed); + } + tags_.WriteTo(output, _repeated_tags_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 (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (IsFailed != false) { + output.WriteRawTag(16); + output.WriteBool(IsFailed); + } + tags_.WriteTo(ref output, _repeated_tags_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 (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (IsFailed != false) { + size += 1 + 1; + } + size += tags_.CalculateSize(_repeated_tags_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ScenarioInfo other) { + if (other == null) { + return; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.IsFailed != false) { + IsFailed = other.IsFailed; + } + tags_.Add(other.tags_); + _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 16: { + IsFailed = input.ReadBool(); + break; + } + case 26: { + tags_.AddEntriesFrom(input, _repeated_tags_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: { + Name = input.ReadString(); + break; + } + case 16: { + IsFailed = input.ReadBool(); + break; + } + case 26: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Contains details of the Step execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepInfo : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepInfo()); + 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.MessagesReflection.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 StepInfo() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepInfo(StepInfo other) : this() { + step_ = other.step_ != null ? other.step_.Clone() : null; + isFailed_ = other.isFailed_; + stackTrace_ = other.stackTrace_; + errorMessage_ = other.errorMessage_; + isConcept_ = other.isConcept_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepInfo Clone() { + return new StepInfo(this); + } + + /// Field number for the "step" field. + public const int StepFieldNumber = 1; + private global::Gauge.Messages.ExecuteStepRequest step_; + /// + //// The current request to execute Step + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecuteStepRequest Step { + get { return step_; } + set { + step_ = value; + } + } + + /// Field number for the "isFailed" field. + public const int IsFailedFieldNumber = 2; + private bool isFailed_; + /// + //// Flag to indicate if the current Step execution failed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsFailed { + get { return isFailed_; } + set { + isFailed_ = value; + } + } + + /// Field number for the "stackTrace" field. + public const int StackTraceFieldNumber = 3; + private string stackTrace_ = ""; + /// + //// The current stack trace in case of failure + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StackTrace { + get { return stackTrace_; } + set { + stackTrace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "errorMessage" field. + public const int ErrorMessageFieldNumber = 4; + private string errorMessage_ = ""; + /// + //// The error message in case of failure + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ErrorMessage { + get { return errorMessage_; } + set { + errorMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "isConcept" field. + public const int IsConceptFieldNumber = 5; + private bool isConcept_; + /// + //// Flag to indicate if the current Step is a concept + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsConcept { + get { return isConcept_; } + set { + isConcept_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StepInfo); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepInfo other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Step, other.Step)) return false; + if (IsFailed != other.IsFailed) return false; + if (StackTrace != other.StackTrace) return false; + if (ErrorMessage != other.ErrorMessage) return false; + if (IsConcept != other.IsConcept) 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 (step_ != null) hash ^= Step.GetHashCode(); + if (IsFailed != false) hash ^= IsFailed.GetHashCode(); + if (StackTrace.Length != 0) hash ^= StackTrace.GetHashCode(); + if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode(); + if (IsConcept != false) hash ^= IsConcept.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 (step_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Step); + } + if (IsFailed != false) { + output.WriteRawTag(16); + output.WriteBool(IsFailed); + } + if (StackTrace.Length != 0) { + output.WriteRawTag(26); + output.WriteString(StackTrace); + } + if (ErrorMessage.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ErrorMessage); + } + if (IsConcept != false) { + output.WriteRawTag(40); + output.WriteBool(IsConcept); + } + 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 (step_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Step); + } + if (IsFailed != false) { + output.WriteRawTag(16); + output.WriteBool(IsFailed); + } + if (StackTrace.Length != 0) { + output.WriteRawTag(26); + output.WriteString(StackTrace); + } + if (ErrorMessage.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ErrorMessage); + } + if (IsConcept != false) { + output.WriteRawTag(40); + output.WriteBool(IsConcept); + } + 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 (step_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Step); + } + if (IsFailed != false) { + size += 1 + 1; + } + if (StackTrace.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StackTrace); + } + if (ErrorMessage.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorMessage); + } + if (IsConcept != 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(StepInfo other) { + if (other == null) { + return; + } + if (other.step_ != null) { + if (step_ == null) { + Step = new global::Gauge.Messages.ExecuteStepRequest(); + } + Step.MergeFrom(other.Step); + } + if (other.IsFailed != false) { + IsFailed = other.IsFailed; + } + if (other.StackTrace.Length != 0) { + StackTrace = other.StackTrace; + } + if (other.ErrorMessage.Length != 0) { + ErrorMessage = other.ErrorMessage; + } + if (other.IsConcept != false) { + IsConcept = other.IsConcept; + } + _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 (step_ == null) { + Step = new global::Gauge.Messages.ExecuteStepRequest(); + } + input.ReadMessage(Step); + break; + } + case 16: { + IsFailed = input.ReadBool(); + break; + } + case 26: { + StackTrace = input.ReadString(); + break; + } + case 34: { + ErrorMessage = input.ReadString(); + break; + } + case 40: { + IsConcept = 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: { + if (step_ == null) { + Step = new global::Gauge.Messages.ExecuteStepRequest(); + } + input.ReadMessage(Step); + break; + } + case 16: { + IsFailed = input.ReadBool(); + break; + } + case 26: { + StackTrace = input.ReadString(); + break; + } + case 34: { + ErrorMessage = input.ReadString(); + break; + } + case 40: { + IsConcept = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + //// Request sent ot the runner to Execute a Step + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ExecuteStepRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ExecuteStepRequest()); + 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.MessagesReflection.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 ExecuteStepRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecuteStepRequest(ExecuteStepRequest other) : this() { + actualStepText_ = other.actualStepText_; + parsedStepText_ = other.parsedStepText_; + scenarioFailing_ = other.scenarioFailing_; + parameters_ = other.parameters_.Clone(); + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ExecuteStepRequest Clone() { + return new ExecuteStepRequest(this); + } + + /// Field number for the "actualStepText" field. + public const int ActualStepTextFieldNumber = 1; + private string actualStepText_ = ""; + /// + //// Contains the actual text of the Step being executed. + //// This contains the parameters as defined in the Spec. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActualStepText { + get { return actualStepText_; } + set { + actualStepText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "parsedStepText" field. + public const int ParsedStepTextFieldNumber = 2; + private string parsedStepText_ = ""; + /// + //// Contains the parsed text of the Step being executed. + //// The paramters are replaced with placeholders. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParsedStepText { + get { return parsedStepText_; } + set { + parsedStepText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "scenarioFailing" field. + public const int ScenarioFailingFieldNumber = 3; + private bool scenarioFailing_; + /// + //// Flag to indicate if the execution of the Scenario, containing the current Step, failed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool ScenarioFailing { + get { return scenarioFailing_; } + set { + scenarioFailing_ = value; + } + } + + /// Field number for the "parameters" field. + public const int ParametersFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_parameters_codec + = pb::FieldCodec.ForMessage(34, global::Gauge.Messages.Parameter.Parser); + private readonly pbc::RepeatedField parameters_ = new pbc::RepeatedField(); + /// + //// Collection of parameters applicable to the current Step. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Parameters { + get { return parameters_; } + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 5; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ExecuteStepRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ExecuteStepRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ActualStepText != other.ActualStepText) return false; + if (ParsedStepText != other.ParsedStepText) return false; + if (ScenarioFailing != other.ScenarioFailing) return false; + if(!parameters_.Equals(other.parameters_)) return false; + if (Stream != other.Stream) 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 (ActualStepText.Length != 0) hash ^= ActualStepText.GetHashCode(); + if (ParsedStepText.Length != 0) hash ^= ParsedStepText.GetHashCode(); + if (ScenarioFailing != false) hash ^= ScenarioFailing.GetHashCode(); + hash ^= parameters_.GetHashCode(); + if (Stream != 0) hash ^= Stream.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 (ActualStepText.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ActualStepText); + } + if (ParsedStepText.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ParsedStepText); + } + if (ScenarioFailing != false) { + output.WriteRawTag(24); + output.WriteBool(ScenarioFailing); + } + parameters_.WriteTo(output, _repeated_parameters_codec); + if (Stream != 0) { + output.WriteRawTag(40); + output.WriteInt32(Stream); + } + 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 (ActualStepText.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ActualStepText); + } + if (ParsedStepText.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ParsedStepText); + } + if (ScenarioFailing != false) { + output.WriteRawTag(24); + output.WriteBool(ScenarioFailing); + } + parameters_.WriteTo(ref output, _repeated_parameters_codec); + if (Stream != 0) { + output.WriteRawTag(40); + output.WriteInt32(Stream); + } + 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 (ActualStepText.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ActualStepText); + } + if (ParsedStepText.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParsedStepText); + } + if (ScenarioFailing != false) { + size += 1 + 1; + } + size += parameters_.CalculateSize(_repeated_parameters_codec); + if (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ExecuteStepRequest other) { + if (other == null) { + return; + } + if (other.ActualStepText.Length != 0) { + ActualStepText = other.ActualStepText; + } + if (other.ParsedStepText.Length != 0) { + ParsedStepText = other.ParsedStepText; + } + if (other.ScenarioFailing != false) { + ScenarioFailing = other.ScenarioFailing; + } + parameters_.Add(other.parameters_); + if (other.Stream != 0) { + Stream = other.Stream; + } + _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: { + ActualStepText = input.ReadString(); + break; + } + case 18: { + ParsedStepText = input.ReadString(); + break; + } + case 24: { + ScenarioFailing = input.ReadBool(); + break; + } + case 34: { + parameters_.AddEntriesFrom(input, _repeated_parameters_codec); + break; + } + case 40: { + Stream = 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: { + ActualStepText = input.ReadString(); + break; + } + case 18: { + ParsedStepText = input.ReadString(); + break; + } + case 24: { + ScenarioFailing = input.ReadBool(); + break; + } + case 34: { + parameters_.AddEntriesFrom(ref input, _repeated_parameters_codec); + break; + } + case 40: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Request sent ot the runner to check if given Step is valid. + //// The runner should check if there is an implementation defined for the given Step Text. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepValidateRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepValidateRequest()); + 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.MessagesReflection.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 StepValidateRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepValidateRequest(StepValidateRequest other) : this() { + stepText_ = other.stepText_; + numberOfParameters_ = other.numberOfParameters_; + 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 StepValidateRequest Clone() { + return new StepValidateRequest(this); + } + + /// Field number for the "stepText" field. + public const int StepTextFieldNumber = 1; + private string stepText_ = ""; + /// + //// The text is used to lookup Step implementation + /// + [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 "numberOfParameters" field. + public const int NumberOfParametersFieldNumber = 2; + private int numberOfParameters_; + /// + //// The number of paramters in the Step + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NumberOfParameters { + get { return numberOfParameters_; } + set { + numberOfParameters_ = value; + } + } + + /// Field number for the "stepValue" field. + public const int StepValueFieldNumber = 3; + private global::Gauge.Messages.ProtoStepValue stepValue_; + /// + ////This is use to generate step implementation template + /// + [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 StepValidateRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepValidateRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StepText != other.StepText) return false; + if (NumberOfParameters != other.NumberOfParameters) return false; + 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 (StepText.Length != 0) hash ^= StepText.GetHashCode(); + if (NumberOfParameters != 0) hash ^= NumberOfParameters.GetHashCode(); + 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 (StepText.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StepText); + } + if (NumberOfParameters != 0) { + output.WriteRawTag(16); + output.WriteInt32(NumberOfParameters); + } + if (stepValue_ != null) { + output.WriteRawTag(26); + 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 (StepText.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StepText); + } + if (NumberOfParameters != 0) { + output.WriteRawTag(16); + output.WriteInt32(NumberOfParameters); + } + if (stepValue_ != null) { + output.WriteRawTag(26); + 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 (StepText.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StepText); + } + if (NumberOfParameters != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumberOfParameters); + } + 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(StepValidateRequest other) { + if (other == null) { + return; + } + if (other.StepText.Length != 0) { + StepText = other.StepText; + } + if (other.NumberOfParameters != 0) { + NumberOfParameters = other.NumberOfParameters; + } + 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: { + StepText = input.ReadString(); + break; + } + case 16: { + NumberOfParameters = input.ReadInt32(); + break; + } + case 26: { + 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: { + StepText = input.ReadString(); + break; + } + case 16: { + NumberOfParameters = input.ReadInt32(); + break; + } + case 26: { + if (stepValue_ == null) { + StepValue = new global::Gauge.Messages.ProtoStepValue(); + } + input.ReadMessage(StepValue); + break; + } + } + } + } + #endif + + } + + /// + //// Response of StepValidateRequest. + //// The runner tells the caller if the Request was valid, + //// i.e. an implementation exists for given Step text. + //// Returns an error message if it is an error response. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepValidateResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepValidateResponse()); + 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.MessagesReflection.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 StepValidateResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepValidateResponse(StepValidateResponse other) : this() { + isValid_ = other.isValid_; + errorMessage_ = other.errorMessage_; + errorType_ = other.errorType_; + suggestion_ = other.suggestion_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepValidateResponse Clone() { + return new StepValidateResponse(this); + } + + /// Field number for the "isValid" field. + public const int IsValidFieldNumber = 1; + private bool isValid_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsValid { + get { return isValid_; } + set { + isValid_ = value; + } + } + + /// Field number for the "errorMessage" field. + public const int ErrorMessageFieldNumber = 2; + private string errorMessage_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ErrorMessage { + get { return errorMessage_; } + set { + errorMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "errorType" field. + public const int ErrorTypeFieldNumber = 3; + private global::Gauge.Messages.StepValidateResponse.Types.ErrorType errorType_ = global::Gauge.Messages.StepValidateResponse.Types.ErrorType.StepImplementationNotFound; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepValidateResponse.Types.ErrorType ErrorType { + get { return errorType_; } + set { + errorType_ = value; + } + } + + /// Field number for the "suggestion" field. + public const int SuggestionFieldNumber = 4; + private string suggestion_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Suggestion { + get { return suggestion_; } + set { + suggestion_ = 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 StepValidateResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepValidateResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsValid != other.IsValid) return false; + if (ErrorMessage != other.ErrorMessage) return false; + if (ErrorType != other.ErrorType) return false; + if (Suggestion != other.Suggestion) 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 (IsValid != false) hash ^= IsValid.GetHashCode(); + if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode(); + if (ErrorType != global::Gauge.Messages.StepValidateResponse.Types.ErrorType.StepImplementationNotFound) hash ^= ErrorType.GetHashCode(); + if (Suggestion.Length != 0) hash ^= Suggestion.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 (IsValid != false) { + output.WriteRawTag(8); + output.WriteBool(IsValid); + } + if (ErrorMessage.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ErrorMessage); + } + if (ErrorType != global::Gauge.Messages.StepValidateResponse.Types.ErrorType.StepImplementationNotFound) { + output.WriteRawTag(24); + output.WriteEnum((int) ErrorType); + } + if (Suggestion.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Suggestion); + } + 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 (IsValid != false) { + output.WriteRawTag(8); + output.WriteBool(IsValid); + } + if (ErrorMessage.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ErrorMessage); + } + if (ErrorType != global::Gauge.Messages.StepValidateResponse.Types.ErrorType.StepImplementationNotFound) { + output.WriteRawTag(24); + output.WriteEnum((int) ErrorType); + } + if (Suggestion.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Suggestion); + } + 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 (IsValid != false) { + size += 1 + 1; + } + if (ErrorMessage.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorMessage); + } + if (ErrorType != global::Gauge.Messages.StepValidateResponse.Types.ErrorType.StepImplementationNotFound) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ErrorType); + } + if (Suggestion.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Suggestion); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StepValidateResponse other) { + if (other == null) { + return; + } + if (other.IsValid != false) { + IsValid = other.IsValid; + } + if (other.ErrorMessage.Length != 0) { + ErrorMessage = other.ErrorMessage; + } + if (other.ErrorType != global::Gauge.Messages.StepValidateResponse.Types.ErrorType.StepImplementationNotFound) { + ErrorType = other.ErrorType; + } + if (other.Suggestion.Length != 0) { + Suggestion = other.Suggestion; + } + _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: { + IsValid = input.ReadBool(); + break; + } + case 18: { + ErrorMessage = input.ReadString(); + break; + } + case 24: { + ErrorType = (global::Gauge.Messages.StepValidateResponse.Types.ErrorType) input.ReadEnum(); + break; + } + case 34: { + Suggestion = 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 8: { + IsValid = input.ReadBool(); + break; + } + case 18: { + ErrorMessage = input.ReadString(); + break; + } + case 24: { + ErrorType = (global::Gauge.Messages.StepValidateResponse.Types.ErrorType) input.ReadEnum(); + break; + } + case 34: { + Suggestion = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the StepValidateResponse message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum ErrorType { + [pbr::OriginalName("STEP_IMPLEMENTATION_NOT_FOUND")] StepImplementationNotFound = 0, + [pbr::OriginalName("DUPLICATE_STEP_IMPLEMENTATION")] DuplicateStepImplementation = 1, + } + + } + #endregion + + } + + /// + //// Result of the Suite Execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SuiteExecutionResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SuiteExecutionResult()); + 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.MessagesReflection.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 SuiteExecutionResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuiteExecutionResult(SuiteExecutionResult other) : this() { + suiteResult_ = other.suiteResult_ != null ? other.suiteResult_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuiteExecutionResult Clone() { + return new SuiteExecutionResult(this); + } + + /// Field number for the "suiteResult" field. + public const int SuiteResultFieldNumber = 1; + private global::Gauge.Messages.ProtoSuiteResult suiteResult_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoSuiteResult SuiteResult { + get { return suiteResult_; } + set { + suiteResult_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SuiteExecutionResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SuiteExecutionResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(SuiteResult, other.SuiteResult)) 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 (suiteResult_ != null) hash ^= SuiteResult.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 (suiteResult_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SuiteResult); + } + 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 (suiteResult_ != null) { + output.WriteRawTag(10); + output.WriteMessage(SuiteResult); + } + 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 (suiteResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SuiteResult); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SuiteExecutionResult other) { + if (other == null) { + return; + } + if (other.suiteResult_ != null) { + if (suiteResult_ == null) { + SuiteResult = new global::Gauge.Messages.ProtoSuiteResult(); + } + SuiteResult.MergeFrom(other.SuiteResult); + } + _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 (suiteResult_ == null) { + SuiteResult = new global::Gauge.Messages.ProtoSuiteResult(); + } + input.ReadMessage(SuiteResult); + 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 (suiteResult_ == null) { + SuiteResult = new global::Gauge.Messages.ProtoSuiteResult(); + } + input.ReadMessage(SuiteResult); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SuiteExecutionResultItem : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SuiteExecutionResultItem()); + 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.MessagesReflection.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 SuiteExecutionResultItem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuiteExecutionResultItem(SuiteExecutionResultItem other) : this() { + resultItem_ = other.resultItem_ != null ? other.resultItem_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuiteExecutionResultItem Clone() { + return new SuiteExecutionResultItem(this); + } + + /// Field number for the "resultItem" field. + public const int ResultItemFieldNumber = 1; + private global::Gauge.Messages.ProtoItem resultItem_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoItem ResultItem { + get { return resultItem_; } + set { + resultItem_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SuiteExecutionResultItem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SuiteExecutionResultItem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ResultItem, other.ResultItem)) 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 (resultItem_ != null) hash ^= ResultItem.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 (resultItem_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ResultItem); + } + 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 (resultItem_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ResultItem); + } + 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 (resultItem_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ResultItem); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SuiteExecutionResultItem other) { + if (other == null) { + return; + } + if (other.resultItem_ != null) { + if (resultItem_ == null) { + ResultItem = new global::Gauge.Messages.ProtoItem(); + } + ResultItem.MergeFrom(other.ResultItem); + } + _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 (resultItem_ == null) { + ResultItem = new global::Gauge.Messages.ProtoItem(); + } + input.ReadMessage(ResultItem); + 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 (resultItem_ == null) { + ResultItem = new global::Gauge.Messages.ProtoItem(); + } + input.ReadMessage(ResultItem); + break; + } + } + } + } + #endif + + } + + /// + //// Requests Gauge to give all Step Names. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepNamesRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepNamesRequest()); + 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.MessagesReflection.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 StepNamesRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepNamesRequest(StepNamesRequest other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepNamesRequest Clone() { + return new StepNamesRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StepNamesRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepNamesRequest 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(StepNamesRequest 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 StepNamesRequest + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepNamesResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepNamesResponse()); + 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.MessagesReflection.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 StepNamesResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepNamesResponse(StepNamesResponse other) : this() { + steps_ = other.steps_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepNamesResponse Clone() { + return new StepNamesResponse(this); + } + + /// Field number for the "steps" field. + public const int StepsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_steps_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField steps_ = new pbc::RepeatedField(); + /// + //// Collection of strings corresponding to Step texts. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Steps { + get { return steps_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StepNamesResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepNamesResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!steps_.Equals(other.steps_)) 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 ^= steps_.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 + steps_.WriteTo(output, _repeated_steps_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) { + steps_.WriteTo(ref output, _repeated_steps_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 += steps_.CalculateSize(_repeated_steps_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StepNamesResponse other) { + if (other == null) { + return; + } + steps_.Add(other.steps_); + _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: { + steps_.AddEntriesFrom(input, _repeated_steps_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: { + steps_.AddEntriesFrom(ref input, _repeated_steps_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Request runner to initialize Scenario DataStore + //// Scenario Datastore is reset after every Scenario execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ScenarioDataStoreInitRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ScenarioDataStoreInitRequest()); + 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.MessagesReflection.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 ScenarioDataStoreInitRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioDataStoreInitRequest(ScenarioDataStoreInitRequest other) : this() { + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ScenarioDataStoreInitRequest Clone() { + return new ScenarioDataStoreInitRequest(this); + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 1; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ScenarioDataStoreInitRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ScenarioDataStoreInitRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Stream != other.Stream) 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 (Stream != 0) hash ^= Stream.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 (Stream != 0) { + output.WriteRawTag(8); + output.WriteInt32(Stream); + } + 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 (Stream != 0) { + output.WriteRawTag(8); + output.WriteInt32(Stream); + } + 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 (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ScenarioDataStoreInitRequest other) { + if (other == null) { + return; + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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: { + Stream = 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 8: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Request runner to initialize Spec DataStore + //// Spec Datastore is reset after every Spec execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SpecDataStoreInitRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpecDataStoreInitRequest()); + 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.MessagesReflection.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 SpecDataStoreInitRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecDataStoreInitRequest(SpecDataStoreInitRequest other) : this() { + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecDataStoreInitRequest Clone() { + return new SpecDataStoreInitRequest(this); + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 1; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SpecDataStoreInitRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpecDataStoreInitRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Stream != other.Stream) 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 (Stream != 0) hash ^= Stream.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 (Stream != 0) { + output.WriteRawTag(8); + output.WriteInt32(Stream); + } + 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 (Stream != 0) { + output.WriteRawTag(8); + output.WriteInt32(Stream); + } + 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 (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SpecDataStoreInitRequest other) { + if (other == null) { + return; + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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: { + Stream = 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 8: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Request runner to initialize Suite DataStore + //// Suite Datastore is reset after every Suite execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SuiteDataStoreInitRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SuiteDataStoreInitRequest()); + 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.MessagesReflection.Descriptor.MessageTypes[26]; } + } + + [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 SuiteDataStoreInitRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuiteDataStoreInitRequest(SuiteDataStoreInitRequest other) : this() { + stream_ = other.stream_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SuiteDataStoreInitRequest Clone() { + return new SuiteDataStoreInitRequest(this); + } + + /// Field number for the "stream" field. + public const int StreamFieldNumber = 1; + private int stream_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int Stream { + get { return stream_; } + set { + stream_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as SuiteDataStoreInitRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SuiteDataStoreInitRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Stream != other.Stream) 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 (Stream != 0) hash ^= Stream.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 (Stream != 0) { + output.WriteRawTag(8); + output.WriteInt32(Stream); + } + 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 (Stream != 0) { + output.WriteRawTag(8); + output.WriteInt32(Stream); + } + 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 (Stream != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Stream); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(SuiteDataStoreInitRequest other) { + if (other == null) { + return; + } + if (other.Stream != 0) { + Stream = other.Stream; + } + _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: { + Stream = 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 8: { + Stream = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Holds the new and old positions of a parameter. + //// Used when refactoring a Step. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ParameterPosition : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ParameterPosition()); + 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.MessagesReflection.Descriptor.MessageTypes[27]; } + } + + [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 ParameterPosition() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParameterPosition(ParameterPosition other) : this() { + oldPosition_ = other.oldPosition_; + newPosition_ = other.newPosition_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ParameterPosition Clone() { + return new ParameterPosition(this); + } + + /// Field number for the "oldPosition" field. + public const int OldPositionFieldNumber = 1; + private int oldPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int OldPosition { + get { return oldPosition_; } + set { + oldPosition_ = value; + } + } + + /// Field number for the "newPosition" field. + public const int NewPositionFieldNumber = 2; + private int newPosition_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int NewPosition { + get { return newPosition_; } + set { + newPosition_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ParameterPosition); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ParameterPosition other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (OldPosition != other.OldPosition) return false; + if (NewPosition != other.NewPosition) 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 (OldPosition != 0) hash ^= OldPosition.GetHashCode(); + if (NewPosition != 0) hash ^= NewPosition.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 (OldPosition != 0) { + output.WriteRawTag(8); + output.WriteInt32(OldPosition); + } + if (NewPosition != 0) { + output.WriteRawTag(16); + output.WriteInt32(NewPosition); + } + 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 (OldPosition != 0) { + output.WriteRawTag(8); + output.WriteInt32(OldPosition); + } + if (NewPosition != 0) { + output.WriteRawTag(16); + output.WriteInt32(NewPosition); + } + 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 (OldPosition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(OldPosition); + } + if (NewPosition != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(NewPosition); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ParameterPosition other) { + if (other == null) { + return; + } + if (other.OldPosition != 0) { + OldPosition = other.OldPosition; + } + if (other.NewPosition != 0) { + NewPosition = other.NewPosition; + } + _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: { + OldPosition = input.ReadInt32(); + break; + } + case 16: { + NewPosition = 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 8: { + OldPosition = input.ReadInt32(); + break; + } + case 16: { + NewPosition = input.ReadInt32(); + break; + } + } + } + } + #endif + + } + + /// + //// Tells the runner to refactor the specified Step. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RefactorRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RefactorRequest()); + 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.MessagesReflection.Descriptor.MessageTypes[28]; } + } + + [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 RefactorRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RefactorRequest(RefactorRequest other) : this() { + oldStepValue_ = other.oldStepValue_ != null ? other.oldStepValue_.Clone() : null; + newStepValue_ = other.newStepValue_ != null ? other.newStepValue_.Clone() : null; + paramPositions_ = other.paramPositions_.Clone(); + saveChanges_ = other.saveChanges_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RefactorRequest Clone() { + return new RefactorRequest(this); + } + + /// Field number for the "oldStepValue" field. + public const int OldStepValueFieldNumber = 1; + private global::Gauge.Messages.ProtoStepValue oldStepValue_; + /// + //// Old value, used to lookup Step to refactor + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoStepValue OldStepValue { + get { return oldStepValue_; } + set { + oldStepValue_ = value; + } + } + + /// Field number for the "newStepValue" field. + public const int NewStepValueFieldNumber = 2; + private global::Gauge.Messages.ProtoStepValue newStepValue_; + /// + //// New value, the to-be value of Step being refactored. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoStepValue NewStepValue { + get { return newStepValue_; } + set { + newStepValue_ = value; + } + } + + /// Field number for the "paramPositions" field. + public const int ParamPositionsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_paramPositions_codec + = pb::FieldCodec.ForMessage(26, global::Gauge.Messages.ParameterPosition.Parser); + private readonly pbc::RepeatedField paramPositions_ = new pbc::RepeatedField(); + /// + //// Holds parameter positions of all parameters. Contains old and new parameter positions. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ParamPositions { + get { return paramPositions_; } + } + + /// Field number for the "saveChanges" field. + public const int SaveChangesFieldNumber = 4; + private bool saveChanges_; + /// + //// If set to true, the refactored files should be saved to the file system before returning the response. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool SaveChanges { + get { return saveChanges_; } + set { + saveChanges_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RefactorRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RefactorRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(OldStepValue, other.OldStepValue)) return false; + if (!object.Equals(NewStepValue, other.NewStepValue)) return false; + if(!paramPositions_.Equals(other.paramPositions_)) return false; + if (SaveChanges != other.SaveChanges) 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 (oldStepValue_ != null) hash ^= OldStepValue.GetHashCode(); + if (newStepValue_ != null) hash ^= NewStepValue.GetHashCode(); + hash ^= paramPositions_.GetHashCode(); + if (SaveChanges != false) hash ^= SaveChanges.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 (oldStepValue_ != null) { + output.WriteRawTag(10); + output.WriteMessage(OldStepValue); + } + if (newStepValue_ != null) { + output.WriteRawTag(18); + output.WriteMessage(NewStepValue); + } + paramPositions_.WriteTo(output, _repeated_paramPositions_codec); + if (SaveChanges != false) { + output.WriteRawTag(32); + output.WriteBool(SaveChanges); + } + 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 (oldStepValue_ != null) { + output.WriteRawTag(10); + output.WriteMessage(OldStepValue); + } + if (newStepValue_ != null) { + output.WriteRawTag(18); + output.WriteMessage(NewStepValue); + } + paramPositions_.WriteTo(ref output, _repeated_paramPositions_codec); + if (SaveChanges != false) { + output.WriteRawTag(32); + output.WriteBool(SaveChanges); + } + 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 (oldStepValue_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(OldStepValue); + } + if (newStepValue_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(NewStepValue); + } + size += paramPositions_.CalculateSize(_repeated_paramPositions_codec); + if (SaveChanges != 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(RefactorRequest other) { + if (other == null) { + return; + } + if (other.oldStepValue_ != null) { + if (oldStepValue_ == null) { + OldStepValue = new global::Gauge.Messages.ProtoStepValue(); + } + OldStepValue.MergeFrom(other.OldStepValue); + } + if (other.newStepValue_ != null) { + if (newStepValue_ == null) { + NewStepValue = new global::Gauge.Messages.ProtoStepValue(); + } + NewStepValue.MergeFrom(other.NewStepValue); + } + paramPositions_.Add(other.paramPositions_); + if (other.SaveChanges != false) { + SaveChanges = other.SaveChanges; + } + _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 (oldStepValue_ == null) { + OldStepValue = new global::Gauge.Messages.ProtoStepValue(); + } + input.ReadMessage(OldStepValue); + break; + } + case 18: { + if (newStepValue_ == null) { + NewStepValue = new global::Gauge.Messages.ProtoStepValue(); + } + input.ReadMessage(NewStepValue); + break; + } + case 26: { + paramPositions_.AddEntriesFrom(input, _repeated_paramPositions_codec); + break; + } + case 32: { + SaveChanges = 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: { + if (oldStepValue_ == null) { + OldStepValue = new global::Gauge.Messages.ProtoStepValue(); + } + input.ReadMessage(OldStepValue); + break; + } + case 18: { + if (newStepValue_ == null) { + NewStepValue = new global::Gauge.Messages.ProtoStepValue(); + } + input.ReadMessage(NewStepValue); + break; + } + case 26: { + paramPositions_.AddEntriesFrom(ref input, _repeated_paramPositions_codec); + break; + } + case 32: { + SaveChanges = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + //// Give all file changes to be made to file system + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FileChanges : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FileChanges()); + 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.MessagesReflection.Descriptor.MessageTypes[29]; } + } + + [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 FileChanges() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FileChanges(FileChanges other) : this() { + fileName_ = other.fileName_; + fileContent_ = other.fileContent_; + diffs_ = other.diffs_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FileChanges Clone() { + return new FileChanges(this); + } + + /// Field number for the "fileName" field. + public const int FileNameFieldNumber = 1; + private string fileName_ = ""; + [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 "fileContent" field. + public const int FileContentFieldNumber = 2; + private string fileContent_ = ""; + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FileContent { + get { return fileContent_; } + set { + fileContent_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "diffs" field. + public const int DiffsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_diffs_codec + = pb::FieldCodec.ForMessage(26, global::Gauge.Messages.TextDiff.Parser); + private readonly pbc::RepeatedField diffs_ = new pbc::RepeatedField(); + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Diffs { + get { return diffs_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FileChanges); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FileChanges other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FileName != other.FileName) return false; + if (FileContent != other.FileContent) return false; + if(!diffs_.Equals(other.diffs_)) 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 (FileContent.Length != 0) hash ^= FileContent.GetHashCode(); + hash ^= diffs_.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 (FileContent.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FileContent); + } + diffs_.WriteTo(output, _repeated_diffs_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 (FileName.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FileName); + } + if (FileContent.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FileContent); + } + diffs_.WriteTo(ref output, _repeated_diffs_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 (FileName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName); + } + if (FileContent.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FileContent); + } + size += diffs_.CalculateSize(_repeated_diffs_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FileChanges other) { + if (other == null) { + return; + } + if (other.FileName.Length != 0) { + FileName = other.FileName; + } + if (other.FileContent.Length != 0) { + FileContent = other.FileContent; + } + diffs_.Add(other.diffs_); + _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 18: { + FileContent = input.ReadString(); + break; + } + case 26: { + diffs_.AddEntriesFrom(input, _repeated_diffs_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: { + FileName = input.ReadString(); + break; + } + case 18: { + FileContent = input.ReadString(); + break; + } + case 26: { + diffs_.AddEntriesFrom(ref input, _repeated_diffs_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Response of a RefactorRequest + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class RefactorResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RefactorResponse()); + 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.MessagesReflection.Descriptor.MessageTypes[30]; } + } + + [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 RefactorResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RefactorResponse(RefactorResponse other) : this() { + success_ = other.success_; + error_ = other.error_; + filesChanged_ = other.filesChanged_.Clone(); + fileChanges_ = other.fileChanges_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public RefactorResponse Clone() { + return new RefactorResponse(this); + } + + /// Field number for the "success" field. + public const int SuccessFieldNumber = 1; + private bool success_; + /// + //// Flag indicating the success of Refactor operation. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Success { + get { return success_; } + set { + success_ = value; + } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 2; + private string error_ = ""; + /// + //// Error message, valid only if Refactor wasn't successful + /// + [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(); + /// + //// List of files that were affected because of the refactoring. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FilesChanged { + get { return filesChanged_; } + } + + /// Field number for the "fileChanges" field. + public const int FileChangesFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_fileChanges_codec + = pb::FieldCodec.ForMessage(34, global::Gauge.Messages.FileChanges.Parser); + private readonly pbc::RepeatedField fileChanges_ = new pbc::RepeatedField(); + /// + //// List of file changes to be made to successfully achieve refactoring. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FileChanges { + get { return fileChanges_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as RefactorResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(RefactorResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Success != other.Success) return false; + if (Error != other.Error) return false; + if(!filesChanged_.Equals(other.filesChanged_)) return false; + if(!fileChanges_.Equals(other.fileChanges_)) 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(); + if (Error.Length != 0) hash ^= Error.GetHashCode(); + hash ^= filesChanged_.GetHashCode(); + hash ^= fileChanges_.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); + } + if (Error.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Error); + } + filesChanged_.WriteTo(output, _repeated_filesChanged_codec); + fileChanges_.WriteTo(output, _repeated_fileChanges_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); + } + if (Error.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Error); + } + filesChanged_.WriteTo(ref output, _repeated_filesChanged_codec); + fileChanges_.WriteTo(ref output, _repeated_fileChanges_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; + } + if (Error.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Error); + } + size += filesChanged_.CalculateSize(_repeated_filesChanged_codec); + size += fileChanges_.CalculateSize(_repeated_fileChanges_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(RefactorResponse other) { + if (other == null) { + return; + } + if (other.Success != false) { + Success = other.Success; + } + if (other.Error.Length != 0) { + Error = other.Error; + } + filesChanged_.Add(other.filesChanged_); + fileChanges_.Add(other.fileChanges_); + _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: { + Error = input.ReadString(); + break; + } + case 26: { + filesChanged_.AddEntriesFrom(input, _repeated_filesChanged_codec); + break; + } + case 34: { + fileChanges_.AddEntriesFrom(input, _repeated_fileChanges_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: { + Error = input.ReadString(); + break; + } + case 26: { + filesChanged_.AddEntriesFrom(ref input, _repeated_filesChanged_codec); + break; + } + case 34: { + fileChanges_.AddEntriesFrom(ref input, _repeated_fileChanges_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Request for details on a Single Step. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepNameRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepNameRequest()); + 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.MessagesReflection.Descriptor.MessageTypes[31]; } + } + + [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 StepNameRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepNameRequest(StepNameRequest other) : this() { + stepValue_ = other.stepValue_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepNameRequest Clone() { + return new StepNameRequest(this); + } + + /// Field number for the "stepValue" field. + public const int StepValueFieldNumber = 1; + private string stepValue_ = ""; + /// + //// Step text to lookup the Step. + //// This is the parsed step value, i.e. with placeholders for parameters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StepValue { + get { return stepValue_; } + set { + stepValue_ = 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 StepNameRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepNameRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (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.Length != 0) 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StepValue); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StepNameRequest other) { + if (other == null) { + return; + } + if (other.StepValue.Length != 0) { + StepValue = 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: { + StepValue = 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: { + StepValue = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + //// Response to StepNameRequest. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepNameResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepNameResponse()); + 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.MessagesReflection.Descriptor.MessageTypes[32]; } + } + + [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 StepNameResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepNameResponse(StepNameResponse other) : this() { + isStepPresent_ = other.isStepPresent_; + stepName_ = other.stepName_.Clone(); + hasAlias_ = other.hasAlias_; + fileName_ = other.fileName_; + span_ = other.span_ != null ? other.span_.Clone() : null; + isExternal_ = other.isExternal_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepNameResponse Clone() { + return new StepNameResponse(this); + } + + /// Field number for the "isStepPresent" field. + public const int IsStepPresentFieldNumber = 1; + private bool isStepPresent_; + /// + //// Flag indicating if there is a match for the given Step Text. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsStepPresent { + get { return isStepPresent_; } + set { + isStepPresent_ = value; + } + } + + /// Field number for the "stepName" field. + public const int StepNameFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_stepName_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField stepName_ = new pbc::RepeatedField(); + /// + //// The Step name of the given step. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField StepName { + get { return stepName_; } + } + + /// Field number for the "hasAlias" field. + public const int HasAliasFieldNumber = 3; + private bool hasAlias_; + /// + //// Flag indicating if the given Step is an alias. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool HasAlias { + get { return hasAlias_; } + set { + hasAlias_ = value; + } + } + + /// Field number for the "fileName" field. + public const int FileNameFieldNumber = 4; + private string fileName_ = ""; + /// + //// File name in which the step implementation exists + /// + [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 "span" field. + public const int SpanFieldNumber = 5; + private global::Gauge.Messages.Span span_; + /// + //// Range of step + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.Span Span { + get { return span_; } + set { + span_ = value; + } + } + + /// Field number for the "isExternal" field. + public const int IsExternalFieldNumber = 6; + private bool isExternal_; + /// + //// Flag indicating if the given Step defined in some external library and the source code can not be accessed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsExternal { + get { return isExternal_; } + set { + isExternal_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StepNameResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepNameResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (IsStepPresent != other.IsStepPresent) return false; + if(!stepName_.Equals(other.stepName_)) return false; + if (HasAlias != other.HasAlias) return false; + if (FileName != other.FileName) return false; + if (!object.Equals(Span, other.Span)) return false; + if (IsExternal != other.IsExternal) 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 (IsStepPresent != false) hash ^= IsStepPresent.GetHashCode(); + hash ^= stepName_.GetHashCode(); + if (HasAlias != false) hash ^= HasAlias.GetHashCode(); + if (FileName.Length != 0) hash ^= FileName.GetHashCode(); + if (span_ != null) hash ^= Span.GetHashCode(); + if (IsExternal != false) hash ^= IsExternal.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 (IsStepPresent != false) { + output.WriteRawTag(8); + output.WriteBool(IsStepPresent); + } + stepName_.WriteTo(output, _repeated_stepName_codec); + if (HasAlias != false) { + output.WriteRawTag(24); + output.WriteBool(HasAlias); + } + if (FileName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(FileName); + } + if (span_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Span); + } + if (IsExternal != false) { + output.WriteRawTag(48); + output.WriteBool(IsExternal); + } + 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 (IsStepPresent != false) { + output.WriteRawTag(8); + output.WriteBool(IsStepPresent); + } + stepName_.WriteTo(ref output, _repeated_stepName_codec); + if (HasAlias != false) { + output.WriteRawTag(24); + output.WriteBool(HasAlias); + } + if (FileName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(FileName); + } + if (span_ != null) { + output.WriteRawTag(42); + output.WriteMessage(Span); + } + if (IsExternal != false) { + output.WriteRawTag(48); + output.WriteBool(IsExternal); + } + 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 (IsStepPresent != false) { + size += 1 + 1; + } + size += stepName_.CalculateSize(_repeated_stepName_codec); + if (HasAlias != false) { + size += 1 + 1; + } + if (FileName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName); + } + if (span_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Span); + } + if (IsExternal != 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(StepNameResponse other) { + if (other == null) { + return; + } + if (other.IsStepPresent != false) { + IsStepPresent = other.IsStepPresent; + } + stepName_.Add(other.stepName_); + if (other.HasAlias != false) { + HasAlias = other.HasAlias; + } + if (other.FileName.Length != 0) { + FileName = other.FileName; + } + if (other.span_ != null) { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + Span.MergeFrom(other.Span); + } + if (other.IsExternal != false) { + IsExternal = other.IsExternal; + } + _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: { + IsStepPresent = input.ReadBool(); + break; + } + case 18: { + stepName_.AddEntriesFrom(input, _repeated_stepName_codec); + break; + } + case 24: { + HasAlias = input.ReadBool(); + break; + } + case 34: { + FileName = input.ReadString(); + break; + } + case 42: { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + input.ReadMessage(Span); + break; + } + case 48: { + IsExternal = 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 8: { + IsStepPresent = input.ReadBool(); + break; + } + case 18: { + stepName_.AddEntriesFrom(ref input, _repeated_stepName_codec); + break; + } + case 24: { + HasAlias = input.ReadBool(); + break; + } + case 34: { + FileName = input.ReadString(); + break; + } + case 42: { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + input.ReadMessage(Span); + break; + } + case 48: { + IsExternal = input.ReadBool(); + break; + } + } + } + } + #endif + + } + + /// + //// Response when a unsupported message request is sent. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class UnsupportedMessageResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UnsupportedMessageResponse()); + 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.MessagesReflection.Descriptor.MessageTypes[33]; } + } + + [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 UnsupportedMessageResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsupportedMessageResponse(UnsupportedMessageResponse other) : this() { + message_ = other.message_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public UnsupportedMessageResponse Clone() { + return new UnsupportedMessageResponse(this); + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 1; + private string message_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = 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 UnsupportedMessageResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(UnsupportedMessageResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Message != other.Message) 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 (Message.Length != 0) hash ^= Message.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 (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + 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 (Message.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Message); + } + 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 (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(UnsupportedMessageResponse other) { + if (other == null) { + return; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + _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: { + Message = 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: { + Message = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + //// Request for caching a file. + //// Gauge sends this request when running in LSP mode, + //// so runner can cache file contents present on the client(an editor). + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class CacheFileRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CacheFileRequest()); + 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.MessagesReflection.Descriptor.MessageTypes[34]; } + } + + [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 CacheFileRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CacheFileRequest(CacheFileRequest other) : this() { + content_ = other.content_; + filePath_ = other.filePath_; + isClosed_ = other.isClosed_; + status_ = other.status_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public CacheFileRequest Clone() { + return new CacheFileRequest(this); + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 1; + private string content_ = ""; + /// + //// File content of the file to be cached + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "filePath" field. + public const int FilePathFieldNumber = 2; + private string filePath_ = ""; + /// + //// File path of the file to be cached + /// + [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 "isClosed" field. + public const int IsClosedFieldNumber = 3; + private bool isClosed_; + /// + //// Specifies if the file is closed + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsClosed { + get { return isClosed_; } + set { + isClosed_ = value; + } + } + + /// Field number for the "status" field. + public const int StatusFieldNumber = 4; + private global::Gauge.Messages.CacheFileRequest.Types.FileStatus status_ = global::Gauge.Messages.CacheFileRequest.Types.FileStatus.Changed; + /// + //// Specifies the status of the file + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.CacheFileRequest.Types.FileStatus Status { + get { return status_; } + set { + status_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as CacheFileRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(CacheFileRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Content != other.Content) return false; + if (FilePath != other.FilePath) return false; + if (IsClosed != other.IsClosed) return false; + if (Status != other.Status) 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 (Content.Length != 0) hash ^= Content.GetHashCode(); + if (FilePath.Length != 0) hash ^= FilePath.GetHashCode(); + if (IsClosed != false) hash ^= IsClosed.GetHashCode(); + if (Status != global::Gauge.Messages.CacheFileRequest.Types.FileStatus.Changed) hash ^= Status.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 (Content.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (FilePath.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FilePath); + } + if (IsClosed != false) { + output.WriteRawTag(24); + output.WriteBool(IsClosed); + } + if (Status != global::Gauge.Messages.CacheFileRequest.Types.FileStatus.Changed) { + output.WriteRawTag(32); + output.WriteEnum((int) Status); + } + 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 (Content.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Content); + } + if (FilePath.Length != 0) { + output.WriteRawTag(18); + output.WriteString(FilePath); + } + if (IsClosed != false) { + output.WriteRawTag(24); + output.WriteBool(IsClosed); + } + if (Status != global::Gauge.Messages.CacheFileRequest.Types.FileStatus.Changed) { + output.WriteRawTag(32); + output.WriteEnum((int) Status); + } + 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 (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (FilePath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FilePath); + } + if (IsClosed != false) { + size += 1 + 1; + } + if (Status != global::Gauge.Messages.CacheFileRequest.Types.FileStatus.Changed) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Status); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(CacheFileRequest other) { + if (other == null) { + return; + } + if (other.Content.Length != 0) { + Content = other.Content; + } + if (other.FilePath.Length != 0) { + FilePath = other.FilePath; + } + if (other.IsClosed != false) { + IsClosed = other.IsClosed; + } + if (other.Status != global::Gauge.Messages.CacheFileRequest.Types.FileStatus.Changed) { + Status = other.Status; + } + _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: { + Content = input.ReadString(); + break; + } + case 18: { + FilePath = input.ReadString(); + break; + } + case 24: { + IsClosed = input.ReadBool(); + break; + } + case 32: { + Status = (global::Gauge.Messages.CacheFileRequest.Types.FileStatus) input.ReadEnum(); + 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: { + Content = input.ReadString(); + break; + } + case 18: { + FilePath = input.ReadString(); + break; + } + case 24: { + IsClosed = input.ReadBool(); + break; + } + case 32: { + Status = (global::Gauge.Messages.CacheFileRequest.Types.FileStatus) input.ReadEnum(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the CacheFileRequest message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum FileStatus { + /// + //// The file content was changed in the client + /// + [pbr::OriginalName("CHANGED")] Changed = 0, + /// + //// The file was closed in the client + /// + [pbr::OriginalName("CLOSED")] Closed = 1, + /// + //// The file was created on the client + /// + [pbr::OriginalName("CREATED")] Created = 2, + /// + //// The file was deleted on the client + /// + [pbr::OriginalName("DELETED")] Deleted = 3, + /// + //// The file is opened in the client + /// + [pbr::OriginalName("OPENED")] Opened = 4, + } + + } + #endregion + + } + + /// + //// Request for find step positions + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepPositionsRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepPositionsRequest()); + 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.MessagesReflection.Descriptor.MessageTypes[35]; } + } + + [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 StepPositionsRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepPositionsRequest(StepPositionsRequest other) : this() { + filePath_ = other.filePath_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepPositionsRequest Clone() { + return new StepPositionsRequest(this); + } + + /// Field number for the "filePath" field. + public const int FilePathFieldNumber = 1; + private string filePath_ = ""; + /// + //// Get step positions for file path + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FilePath { + get { return filePath_; } + set { + filePath_ = 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 StepPositionsRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepPositionsRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FilePath != other.FilePath) 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 (FilePath.Length != 0) hash ^= FilePath.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 (FilePath.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FilePath); + } + 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 (FilePath.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FilePath); + } + 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 (FilePath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FilePath); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StepPositionsRequest other) { + if (other == null) { + return; + } + if (other.FilePath.Length != 0) { + FilePath = other.FilePath; + } + _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: { + FilePath = 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: { + FilePath = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + //// Response for find step positions + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepPositionsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepPositionsResponse()); + 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.MessagesReflection.Descriptor.MessageTypes[36]; } + } + + [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 StepPositionsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepPositionsResponse(StepPositionsResponse other) : this() { + stepPositions_ = other.stepPositions_.Clone(); + error_ = other.error_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepPositionsResponse Clone() { + return new StepPositionsResponse(this); + } + + /// Field number for the "stepPositions" field. + public const int StepPositionsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_stepPositions_codec + = pb::FieldCodec.ForMessage(10, global::Gauge.Messages.StepPositionsResponse.Types.StepPosition.Parser); + private readonly pbc::RepeatedField stepPositions_ = new pbc::RepeatedField(); + /// + //// Step Position + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField StepPositions { + get { return stepPositions_; } + } + + /// Field number for the "error" field. + public const int ErrorFieldNumber = 2; + private string error_ = ""; + /// + //// 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 StepPositionsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepPositionsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!stepPositions_.Equals(other.stepPositions_)) return false; + 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; + hash ^= stepPositions_.GetHashCode(); + 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 + stepPositions_.WriteTo(output, _repeated_stepPositions_codec); + if (Error.Length != 0) { + output.WriteRawTag(18); + 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) { + stepPositions_.WriteTo(ref output, _repeated_stepPositions_codec); + if (Error.Length != 0) { + output.WriteRawTag(18); + 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; + size += stepPositions_.CalculateSize(_repeated_stepPositions_codec); + 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(StepPositionsResponse other) { + if (other == null) { + return; + } + stepPositions_.Add(other.stepPositions_); + 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: { + stepPositions_.AddEntriesFrom(input, _repeated_stepPositions_codec); + break; + } + case 18: { + 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: { + stepPositions_.AddEntriesFrom(ref input, _repeated_stepPositions_codec); + break; + } + case 18: { + Error = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the StepPositionsResponse message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + //// Step position for each step implementation + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StepPosition : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StepPosition()); + 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.StepPositionsResponse.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 StepPosition() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepPosition(StepPosition other) : this() { + stepValue_ = other.stepValue_; + span_ = other.span_ != null ? other.span_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StepPosition Clone() { + return new StepPosition(this); + } + + /// Field number for the "stepValue" field. + public const int StepValueFieldNumber = 1; + private string stepValue_ = ""; + /// + //// Step Value + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StepValue { + get { return stepValue_; } + set { + stepValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "span" field. + public const int SpanFieldNumber = 2; + private global::Gauge.Messages.Span span_; + /// + //// Range of step + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.Span Span { + get { return span_; } + set { + span_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StepPosition); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StepPosition other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StepValue != other.StepValue) return false; + if (!object.Equals(Span, other.Span)) 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.Length != 0) hash ^= StepValue.GetHashCode(); + if (span_ != null) hash ^= Span.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StepValue); + } + if (span_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Span); + } + 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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StepValue); + } + if (span_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Span); + } + 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.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StepValue); + } + if (span_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Span); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StepPosition other) { + if (other == null) { + return; + } + if (other.StepValue.Length != 0) { + StepValue = other.StepValue; + } + if (other.span_ != null) { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + Span.MergeFrom(other.Span); + } + _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: { + StepValue = input.ReadString(); + break; + } + case 18: { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + input.ReadMessage(Span); + 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: { + StepValue = input.ReadString(); + break; + } + case 18: { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + input.ReadMessage(Span); + break; + } + } + } + } + #endif + + } + + } + #endregion + + } + + /// + //// Request for getting Implementation file glob pattern + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImplementationFileGlobPatternRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImplementationFileGlobPatternRequest()); + 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.MessagesReflection.Descriptor.MessageTypes[37]; } + } + + [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 ImplementationFileGlobPatternRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImplementationFileGlobPatternRequest(ImplementationFileGlobPatternRequest other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImplementationFileGlobPatternRequest Clone() { + return new ImplementationFileGlobPatternRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImplementationFileGlobPatternRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImplementationFileGlobPatternRequest 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(ImplementationFileGlobPatternRequest 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 for getting Implementation file glob pattern + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImplementationFileGlobPatternResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImplementationFileGlobPatternResponse()); + 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.MessagesReflection.Descriptor.MessageTypes[38]; } + } + + [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 ImplementationFileGlobPatternResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImplementationFileGlobPatternResponse(ImplementationFileGlobPatternResponse other) : this() { + globPatterns_ = other.globPatterns_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImplementationFileGlobPatternResponse Clone() { + return new ImplementationFileGlobPatternResponse(this); + } + + /// Field number for the "globPatterns" field. + public const int GlobPatternsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_globPatterns_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField globPatterns_ = new pbc::RepeatedField(); + /// + //// List of implementation file glob patterns + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField GlobPatterns { + get { return globPatterns_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImplementationFileGlobPatternResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImplementationFileGlobPatternResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!globPatterns_.Equals(other.globPatterns_)) 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 ^= globPatterns_.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 + globPatterns_.WriteTo(output, _repeated_globPatterns_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) { + globPatterns_.WriteTo(ref output, _repeated_globPatterns_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 += globPatterns_.CalculateSize(_repeated_globPatterns_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ImplementationFileGlobPatternResponse other) { + if (other == null) { + return; + } + globPatterns_.Add(other.globPatterns_); + _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: { + globPatterns_.AddEntriesFrom(input, _repeated_globPatterns_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: { + globPatterns_.AddEntriesFrom(ref input, _repeated_globPatterns_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Request for getting Implementation file list + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImplementationFileListRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImplementationFileListRequest()); + 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.MessagesReflection.Descriptor.MessageTypes[39]; } + } + + [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 ImplementationFileListRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImplementationFileListRequest(ImplementationFileListRequest other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImplementationFileListRequest Clone() { + return new ImplementationFileListRequest(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImplementationFileListRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImplementationFileListRequest 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(ImplementationFileListRequest 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 for getting Implementation file list + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ImplementationFileListResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ImplementationFileListResponse()); + 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.MessagesReflection.Descriptor.MessageTypes[40]; } + } + + [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 ImplementationFileListResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImplementationFileListResponse(ImplementationFileListResponse other) : this() { + implementationFilePaths_ = other.implementationFilePaths_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ImplementationFileListResponse Clone() { + return new ImplementationFileListResponse(this); + } + + /// Field number for the "implementationFilePaths" field. + public const int ImplementationFilePathsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_implementationFilePaths_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField implementationFilePaths_ = new pbc::RepeatedField(); + /// + //// List of implementation files + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ImplementationFilePaths { + get { return implementationFilePaths_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ImplementationFileListResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ImplementationFileListResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!implementationFilePaths_.Equals(other.implementationFilePaths_)) 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 ^= implementationFilePaths_.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 + implementationFilePaths_.WriteTo(output, _repeated_implementationFilePaths_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) { + implementationFilePaths_.WriteTo(ref output, _repeated_implementationFilePaths_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 += implementationFilePaths_.CalculateSize(_repeated_implementationFilePaths_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ImplementationFileListResponse other) { + if (other == null) { + return; + } + implementationFilePaths_.Add(other.implementationFilePaths_); + _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: { + implementationFilePaths_.AddEntriesFrom(input, _repeated_implementationFilePaths_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: { + implementationFilePaths_.AddEntriesFrom(ref input, _repeated_implementationFilePaths_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Request for injecting code snippet into implementation file + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class StubImplementationCodeRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StubImplementationCodeRequest()); + 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.MessagesReflection.Descriptor.MessageTypes[41]; } + } + + [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 StubImplementationCodeRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StubImplementationCodeRequest(StubImplementationCodeRequest other) : this() { + implementationFilePath_ = other.implementationFilePath_; + codes_ = other.codes_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public StubImplementationCodeRequest Clone() { + return new StubImplementationCodeRequest(this); + } + + /// Field number for the "implementationFilePath" field. + public const int ImplementationFilePathFieldNumber = 1; + private string implementationFilePath_ = ""; + /// + //// Path of the file where the new stub implementation will be added + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ImplementationFilePath { + get { return implementationFilePath_; } + set { + implementationFilePath_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "codes" field. + public const int CodesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_codes_codec + = pb::FieldCodec.ForString(18); + private readonly pbc::RepeatedField codes_ = new pbc::RepeatedField(); + /// + //// List of implementation codes to be appended to implementation file. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Codes { + get { return codes_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as StubImplementationCodeRequest); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(StubImplementationCodeRequest other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ImplementationFilePath != other.ImplementationFilePath) return false; + if(!codes_.Equals(other.codes_)) 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 (ImplementationFilePath.Length != 0) hash ^= ImplementationFilePath.GetHashCode(); + hash ^= codes_.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 (ImplementationFilePath.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ImplementationFilePath); + } + codes_.WriteTo(output, _repeated_codes_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 (ImplementationFilePath.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ImplementationFilePath); + } + codes_.WriteTo(ref output, _repeated_codes_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 (ImplementationFilePath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ImplementationFilePath); + } + size += codes_.CalculateSize(_repeated_codes_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(StubImplementationCodeRequest other) { + if (other == null) { + return; + } + if (other.ImplementationFilePath.Length != 0) { + ImplementationFilePath = other.ImplementationFilePath; + } + codes_.Add(other.codes_); + _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: { + ImplementationFilePath = input.ReadString(); + break; + } + case 18: { + codes_.AddEntriesFrom(input, _repeated_codes_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: { + ImplementationFilePath = input.ReadString(); + break; + } + case 18: { + codes_.AddEntriesFrom(ref input, _repeated_codes_codec); + break; + } + } + } + } + #endif + + } + + /// + //// A Single Replace Diff Element to be applied + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class TextDiff : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new TextDiff()); + 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.MessagesReflection.Descriptor.MessageTypes[42]; } + } + + [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 TextDiff() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TextDiff(TextDiff other) : this() { + span_ = other.span_ != null ? other.span_.Clone() : null; + content_ = other.content_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public TextDiff Clone() { + return new TextDiff(this); + } + + /// Field number for the "span" field. + public const int SpanFieldNumber = 1; + private global::Gauge.Messages.Span span_; + /// + //// Range of file to be replaced + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.Span Span { + get { return span_; } + set { + span_ = value; + } + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 2; + private string content_ = ""; + /// + //// New content to replace the content in the span + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Content { + get { return content_; } + set { + content_ = 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 TextDiff); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(TextDiff other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Span, other.Span)) return false; + if (Content != other.Content) 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 (span_ != null) hash ^= Span.GetHashCode(); + if (Content.Length != 0) hash ^= Content.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 (span_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Span); + } + if (Content.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Content); + } + 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 (span_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Span); + } + if (Content.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Content); + } + 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 (span_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Span); + } + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(TextDiff other) { + if (other == null) { + return; + } + if (other.span_ != null) { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + Span.MergeFrom(other.Span); + } + if (other.Content.Length != 0) { + Content = other.Content; + } + _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 (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + input.ReadMessage(Span); + break; + } + case 18: { + Content = 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: { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + input.ReadMessage(Span); + break; + } + case 18: { + Content = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + //// Diffs to be applied to a file + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class FileDiff : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FileDiff()); + 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.MessagesReflection.Descriptor.MessageTypes[43]; } + } + + [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 FileDiff() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FileDiff(FileDiff other) : this() { + filePath_ = other.filePath_; + textDiffs_ = other.textDiffs_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public FileDiff Clone() { + return new FileDiff(this); + } + + /// Field number for the "filePath" field. + public const int FilePathFieldNumber = 1; + private string filePath_ = ""; + /// + //// File Path where the new content needs to be put in + /// + [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 "textDiffs" field. + public const int TextDiffsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_textDiffs_codec + = pb::FieldCodec.ForMessage(18, global::Gauge.Messages.TextDiff.Parser); + private readonly pbc::RepeatedField textDiffs_ = new pbc::RepeatedField(); + /// + //// The diffs which need to be applied to this file + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField TextDiffs { + get { return textDiffs_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as FileDiff); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(FileDiff other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FilePath != other.FilePath) return false; + if(!textDiffs_.Equals(other.textDiffs_)) 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 (FilePath.Length != 0) hash ^= FilePath.GetHashCode(); + hash ^= textDiffs_.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 (FilePath.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FilePath); + } + textDiffs_.WriteTo(output, _repeated_textDiffs_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 (FilePath.Length != 0) { + output.WriteRawTag(10); + output.WriteString(FilePath); + } + textDiffs_.WriteTo(ref output, _repeated_textDiffs_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 (FilePath.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FilePath); + } + size += textDiffs_.CalculateSize(_repeated_textDiffs_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(FileDiff other) { + if (other == null) { + return; + } + if (other.FilePath.Length != 0) { + FilePath = other.FilePath; + } + textDiffs_.Add(other.textDiffs_); + _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: { + FilePath = input.ReadString(); + break; + } + case 18: { + textDiffs_.AddEntriesFrom(input, _repeated_textDiffs_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: { + FilePath = input.ReadString(); + break; + } + case 18: { + textDiffs_.AddEntriesFrom(ref input, _repeated_textDiffs_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Tell gauge to reset the kill timer, thus extending the life + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class KeepAlive : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new KeepAlive()); + 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.MessagesReflection.Descriptor.MessageTypes[44]; } + } + + [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 KeepAlive() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KeepAlive(KeepAlive other) : this() { + pluginId_ = other.pluginId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public KeepAlive Clone() { + return new KeepAlive(this); + } + + /// Field number for the "pluginId" field. + public const int PluginIdFieldNumber = 1; + private string pluginId_ = ""; + /// + //// ID of the plugin initiating this request + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string PluginId { + get { return pluginId_; } + set { + pluginId_ = 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 KeepAlive); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(KeepAlive other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (PluginId != other.PluginId) 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 (PluginId.Length != 0) hash ^= PluginId.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 (PluginId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(PluginId); + } + 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 (PluginId.Length != 0) { + output.WriteRawTag(10); + output.WriteString(PluginId); + } + 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 (PluginId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(PluginId); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(KeepAlive other) { + if (other == null) { + return; + } + if (other.PluginId.Length != 0) { + PluginId = other.PluginId; + } + _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: { + PluginId = 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: { + PluginId = input.ReadString(); + break; + } + } + } + } + #endif + + } + + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class SpecDetails : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new SpecDetails()); + 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.MessagesReflection.Descriptor.MessageTypes[45]; } + } + + [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 SpecDetails() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecDetails(SpecDetails other) : this() { + details_ = other.details_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public SpecDetails Clone() { + return new SpecDetails(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.SpecDetails.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 SpecDetails); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(SpecDetails 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(SpecDetails 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 SpecDetails 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.SpecDetails.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 + + } + + /// + /// Empty is a blank response, to be used when there is no return expected. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Empty : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Empty()); + 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.MessagesReflection.Descriptor.MessageTypes[46]; } + } + + [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 Empty() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Empty(Empty other) : this() { + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Empty Clone() { + return new Empty(this); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Empty); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Empty 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(Empty 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 + + } + + /// + //// This is the message which gets transferred all the time + //// with proper message type set + //// One of the Request/Response fields will have value, depending on the MessageType set. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Message : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Message()); + 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.MessagesReflection.Descriptor.MessageTypes[47]; } + } + + [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 Message() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Message(Message other) : this() { + messageType_ = other.messageType_; + messageId_ = other.messageId_; + executionStartingRequest_ = other.executionStartingRequest_ != null ? other.executionStartingRequest_.Clone() : null; + specExecutionStartingRequest_ = other.specExecutionStartingRequest_ != null ? other.specExecutionStartingRequest_.Clone() : null; + specExecutionEndingRequest_ = other.specExecutionEndingRequest_ != null ? other.specExecutionEndingRequest_.Clone() : null; + scenarioExecutionStartingRequest_ = other.scenarioExecutionStartingRequest_ != null ? other.scenarioExecutionStartingRequest_.Clone() : null; + scenarioExecutionEndingRequest_ = other.scenarioExecutionEndingRequest_ != null ? other.scenarioExecutionEndingRequest_.Clone() : null; + stepExecutionStartingRequest_ = other.stepExecutionStartingRequest_ != null ? other.stepExecutionStartingRequest_.Clone() : null; + stepExecutionEndingRequest_ = other.stepExecutionEndingRequest_ != null ? other.stepExecutionEndingRequest_.Clone() : null; + executeStepRequest_ = other.executeStepRequest_ != null ? other.executeStepRequest_.Clone() : null; + executionEndingRequest_ = other.executionEndingRequest_ != null ? other.executionEndingRequest_.Clone() : null; + stepValidateRequest_ = other.stepValidateRequest_ != null ? other.stepValidateRequest_.Clone() : null; + stepValidateResponse_ = other.stepValidateResponse_ != null ? other.stepValidateResponse_.Clone() : null; + executionStatusResponse_ = other.executionStatusResponse_ != null ? other.executionStatusResponse_.Clone() : null; + stepNamesRequest_ = other.stepNamesRequest_ != null ? other.stepNamesRequest_.Clone() : null; + stepNamesResponse_ = other.stepNamesResponse_ != null ? other.stepNamesResponse_.Clone() : null; + suiteExecutionResult_ = other.suiteExecutionResult_ != null ? other.suiteExecutionResult_.Clone() : null; + killProcessRequest_ = other.killProcessRequest_ != null ? other.killProcessRequest_.Clone() : null; + scenarioDataStoreInitRequest_ = other.scenarioDataStoreInitRequest_ != null ? other.scenarioDataStoreInitRequest_.Clone() : null; + specDataStoreInitRequest_ = other.specDataStoreInitRequest_ != null ? other.specDataStoreInitRequest_.Clone() : null; + suiteDataStoreInitRequest_ = other.suiteDataStoreInitRequest_ != null ? other.suiteDataStoreInitRequest_.Clone() : null; + stepNameRequest_ = other.stepNameRequest_ != null ? other.stepNameRequest_.Clone() : null; + stepNameResponse_ = other.stepNameResponse_ != null ? other.stepNameResponse_.Clone() : null; + refactorRequest_ = other.refactorRequest_ != null ? other.refactorRequest_.Clone() : null; + refactorResponse_ = other.refactorResponse_ != null ? other.refactorResponse_.Clone() : null; + unsupportedMessageResponse_ = other.unsupportedMessageResponse_ != null ? other.unsupportedMessageResponse_.Clone() : null; + cacheFileRequest_ = other.cacheFileRequest_ != null ? other.cacheFileRequest_.Clone() : null; + stepPositionsRequest_ = other.stepPositionsRequest_ != null ? other.stepPositionsRequest_.Clone() : null; + stepPositionsResponse_ = other.stepPositionsResponse_ != null ? other.stepPositionsResponse_.Clone() : null; + implementationFileListRequest_ = other.implementationFileListRequest_ != null ? other.implementationFileListRequest_.Clone() : null; + implementationFileListResponse_ = other.implementationFileListResponse_ != null ? other.implementationFileListResponse_.Clone() : null; + stubImplementationCodeRequest_ = other.stubImplementationCodeRequest_ != null ? other.stubImplementationCodeRequest_.Clone() : null; + fileDiff_ = other.fileDiff_ != null ? other.fileDiff_.Clone() : null; + implementationFileGlobPatternRequest_ = other.implementationFileGlobPatternRequest_ != null ? other.implementationFileGlobPatternRequest_.Clone() : null; + implementationFileGlobPatternResponse_ = other.implementationFileGlobPatternResponse_ != null ? other.implementationFileGlobPatternResponse_.Clone() : null; + suiteExecutionResultItem_ = other.suiteExecutionResultItem_ != null ? other.suiteExecutionResultItem_.Clone() : null; + keepAlive_ = other.keepAlive_ != null ? other.keepAlive_.Clone() : null; + conceptExecutionStartingRequest_ = other.conceptExecutionStartingRequest_ != null ? other.conceptExecutionStartingRequest_.Clone() : null; + conceptExecutionEndingRequest_ = other.conceptExecutionEndingRequest_ != null ? other.conceptExecutionEndingRequest_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Message Clone() { + return new Message(this); + } + + /// Field number for the "messageType" field. + public const int MessageTypeFieldNumber = 1; + private global::Gauge.Messages.Message.Types.MessageType messageType_ = global::Gauge.Messages.Message.Types.MessageType.ExecutionStarting; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.Message.Types.MessageType 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 "executionStartingRequest" field. + public const int ExecutionStartingRequestFieldNumber = 3; + private global::Gauge.Messages.ExecutionStartingRequest executionStartingRequest_; + /// + //// [ExecutionStartingRequest](#gauge.messages.ExecutionStartingRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionStartingRequest ExecutionStartingRequest { + get { return executionStartingRequest_; } + set { + executionStartingRequest_ = value; + } + } + + /// Field number for the "specExecutionStartingRequest" field. + public const int SpecExecutionStartingRequestFieldNumber = 4; + private global::Gauge.Messages.SpecExecutionStartingRequest specExecutionStartingRequest_; + /// + //// [SpecExecutionStartingRequest](#gauge.messages.SpecExecutionStartingRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.SpecExecutionStartingRequest SpecExecutionStartingRequest { + get { return specExecutionStartingRequest_; } + set { + specExecutionStartingRequest_ = value; + } + } + + /// Field number for the "specExecutionEndingRequest" field. + public const int SpecExecutionEndingRequestFieldNumber = 5; + private global::Gauge.Messages.SpecExecutionEndingRequest specExecutionEndingRequest_; + /// + //// [SpecExecutionEndingRequest](#gauge.messages.SpecExecutionEndingRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.SpecExecutionEndingRequest SpecExecutionEndingRequest { + get { return specExecutionEndingRequest_; } + set { + specExecutionEndingRequest_ = value; + } + } + + /// Field number for the "scenarioExecutionStartingRequest" field. + public const int ScenarioExecutionStartingRequestFieldNumber = 6; + private global::Gauge.Messages.ScenarioExecutionStartingRequest scenarioExecutionStartingRequest_; + /// + //// [ScenarioExecutionStartingRequest](#gauge.messages.ScenarioExecutionStartingRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ScenarioExecutionStartingRequest ScenarioExecutionStartingRequest { + get { return scenarioExecutionStartingRequest_; } + set { + scenarioExecutionStartingRequest_ = value; + } + } + + /// Field number for the "scenarioExecutionEndingRequest" field. + public const int ScenarioExecutionEndingRequestFieldNumber = 7; + private global::Gauge.Messages.ScenarioExecutionEndingRequest scenarioExecutionEndingRequest_; + /// + //// [ScenarioExecutionEndingRequest](#gauge.messages.ScenarioExecutionEndingRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ScenarioExecutionEndingRequest ScenarioExecutionEndingRequest { + get { return scenarioExecutionEndingRequest_; } + set { + scenarioExecutionEndingRequest_ = value; + } + } + + /// Field number for the "stepExecutionStartingRequest" field. + public const int StepExecutionStartingRequestFieldNumber = 8; + private global::Gauge.Messages.StepExecutionStartingRequest stepExecutionStartingRequest_; + /// + //// [StepExecutionStartingRequest](#gauge.messages.StepExecutionStartingRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepExecutionStartingRequest StepExecutionStartingRequest { + get { return stepExecutionStartingRequest_; } + set { + stepExecutionStartingRequest_ = value; + } + } + + /// Field number for the "stepExecutionEndingRequest" field. + public const int StepExecutionEndingRequestFieldNumber = 9; + private global::Gauge.Messages.StepExecutionEndingRequest stepExecutionEndingRequest_; + /// + //// [StepExecutionEndingRequest](#gauge.messages.StepExecutionEndingRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepExecutionEndingRequest StepExecutionEndingRequest { + get { return stepExecutionEndingRequest_; } + set { + stepExecutionEndingRequest_ = value; + } + } + + /// Field number for the "executeStepRequest" field. + public const int ExecuteStepRequestFieldNumber = 10; + private global::Gauge.Messages.ExecuteStepRequest executeStepRequest_; + /// + //// [ExecuteStepRequest](#gauge.messages.ExecuteStepRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecuteStepRequest ExecuteStepRequest { + get { return executeStepRequest_; } + set { + executeStepRequest_ = value; + } + } + + /// Field number for the "executionEndingRequest" field. + public const int ExecutionEndingRequestFieldNumber = 11; + private global::Gauge.Messages.ExecutionEndingRequest executionEndingRequest_; + /// + //// [ExecutionEndingRequest](#gauge.messages.ExecutionEndingRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionEndingRequest ExecutionEndingRequest { + get { return executionEndingRequest_; } + set { + executionEndingRequest_ = value; + } + } + + /// Field number for the "stepValidateRequest" field. + public const int StepValidateRequestFieldNumber = 12; + private global::Gauge.Messages.StepValidateRequest stepValidateRequest_; + /// + //// [StepValidateRequest](#gauge.messages.StepValidateRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepValidateRequest StepValidateRequest { + get { return stepValidateRequest_; } + set { + stepValidateRequest_ = value; + } + } + + /// Field number for the "stepValidateResponse" field. + public const int StepValidateResponseFieldNumber = 13; + private global::Gauge.Messages.StepValidateResponse stepValidateResponse_; + /// + //// [StepValidateResponse](#gauge.messages.StepValidateResponse) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepValidateResponse StepValidateResponse { + get { return stepValidateResponse_; } + set { + stepValidateResponse_ = value; + } + } + + /// Field number for the "executionStatusResponse" field. + public const int ExecutionStatusResponseFieldNumber = 14; + private global::Gauge.Messages.ExecutionStatusResponse executionStatusResponse_; + /// + //// [ExecutionStatusResponse](#gauge.messages.ExecutionStatusResponse) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionStatusResponse ExecutionStatusResponse { + get { return executionStatusResponse_; } + set { + executionStatusResponse_ = value; + } + } + + /// Field number for the "stepNamesRequest" field. + public const int StepNamesRequestFieldNumber = 15; + private global::Gauge.Messages.StepNamesRequest stepNamesRequest_; + /// + //// [StepNamesRequest](#gauge.messages.StepNamesRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepNamesRequest StepNamesRequest { + get { return stepNamesRequest_; } + set { + stepNamesRequest_ = value; + } + } + + /// Field number for the "stepNamesResponse" field. + public const int StepNamesResponseFieldNumber = 16; + private global::Gauge.Messages.StepNamesResponse stepNamesResponse_; + /// + //// [StepNamesResponse](#gauge.messages.StepNamesResponse) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepNamesResponse StepNamesResponse { + get { return stepNamesResponse_; } + set { + stepNamesResponse_ = value; + } + } + + /// Field number for the "suiteExecutionResult" field. + public const int SuiteExecutionResultFieldNumber = 17; + private global::Gauge.Messages.SuiteExecutionResult suiteExecutionResult_; + /// + //// [SuiteExecutionResult ](#gauge.messages.SuiteExecutionResult ) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.SuiteExecutionResult SuiteExecutionResult { + get { return suiteExecutionResult_; } + set { + suiteExecutionResult_ = value; + } + } + + /// Field number for the "killProcessRequest" field. + public const int KillProcessRequestFieldNumber = 18; + private global::Gauge.Messages.KillProcessRequest killProcessRequest_; + /// + //// [KillProcessRequest](#gauge.messages.KillProcessRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.KillProcessRequest KillProcessRequest { + get { return killProcessRequest_; } + set { + killProcessRequest_ = value; + } + } + + /// Field number for the "scenarioDataStoreInitRequest" field. + public const int ScenarioDataStoreInitRequestFieldNumber = 19; + private global::Gauge.Messages.ScenarioDataStoreInitRequest scenarioDataStoreInitRequest_; + /// + //// [ScenarioDataStoreInitRequest](#gauge.messages.ScenarioDataStoreInitRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ScenarioDataStoreInitRequest ScenarioDataStoreInitRequest { + get { return scenarioDataStoreInitRequest_; } + set { + scenarioDataStoreInitRequest_ = value; + } + } + + /// Field number for the "specDataStoreInitRequest" field. + public const int SpecDataStoreInitRequestFieldNumber = 20; + private global::Gauge.Messages.SpecDataStoreInitRequest specDataStoreInitRequest_; + /// + //// [SpecDataStoreInitRequest](#gauge.messages.SpecDataStoreInitRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.SpecDataStoreInitRequest SpecDataStoreInitRequest { + get { return specDataStoreInitRequest_; } + set { + specDataStoreInitRequest_ = value; + } + } + + /// Field number for the "suiteDataStoreInitRequest" field. + public const int SuiteDataStoreInitRequestFieldNumber = 21; + private global::Gauge.Messages.SuiteDataStoreInitRequest suiteDataStoreInitRequest_; + /// + //// [SuiteDataStoreInitRequest](#gauge.messages.SuiteDataStoreInitRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.SuiteDataStoreInitRequest SuiteDataStoreInitRequest { + get { return suiteDataStoreInitRequest_; } + set { + suiteDataStoreInitRequest_ = value; + } + } + + /// Field number for the "stepNameRequest" field. + public const int StepNameRequestFieldNumber = 22; + private global::Gauge.Messages.StepNameRequest stepNameRequest_; + /// + //// [StepNameRequest](#gauge.messages.StepNameRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepNameRequest StepNameRequest { + get { return stepNameRequest_; } + set { + stepNameRequest_ = value; + } + } + + /// Field number for the "stepNameResponse" field. + public const int StepNameResponseFieldNumber = 23; + private global::Gauge.Messages.StepNameResponse stepNameResponse_; + /// + //// [StepNameResponse](#gauge.messages.StepNameResponse) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepNameResponse StepNameResponse { + get { return stepNameResponse_; } + set { + stepNameResponse_ = value; + } + } + + /// Field number for the "refactorRequest" field. + public const int RefactorRequestFieldNumber = 24; + private global::Gauge.Messages.RefactorRequest refactorRequest_; + /// + //// [RefactorRequest](#gauge.messages.RefactorRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.RefactorRequest RefactorRequest { + get { return refactorRequest_; } + set { + refactorRequest_ = value; + } + } + + /// Field number for the "refactorResponse" field. + public const int RefactorResponseFieldNumber = 25; + private global::Gauge.Messages.RefactorResponse refactorResponse_; + /// + //// [RefactorResponse](#gauge.messages.RefactorResponse) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.RefactorResponse RefactorResponse { + get { return refactorResponse_; } + set { + refactorResponse_ = value; + } + } + + /// Field number for the "unsupportedMessageResponse" field. + public const int UnsupportedMessageResponseFieldNumber = 26; + private global::Gauge.Messages.UnsupportedMessageResponse unsupportedMessageResponse_; + /// + //// [UnsupportedMessageResponse](#gauge.messages.UnsupportedMessageResponse) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.UnsupportedMessageResponse UnsupportedMessageResponse { + get { return unsupportedMessageResponse_; } + set { + unsupportedMessageResponse_ = value; + } + } + + /// Field number for the "cacheFileRequest" field. + public const int CacheFileRequestFieldNumber = 27; + private global::Gauge.Messages.CacheFileRequest cacheFileRequest_; + /// + //// [CacheFileRequest](#gauge.messages.CacheFileRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.CacheFileRequest CacheFileRequest { + get { return cacheFileRequest_; } + set { + cacheFileRequest_ = value; + } + } + + /// Field number for the "stepPositionsRequest" field. + public const int StepPositionsRequestFieldNumber = 28; + private global::Gauge.Messages.StepPositionsRequest stepPositionsRequest_; + /// + //// [StepPositionsRequest](#gauge.messages.StepPositionsRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepPositionsRequest StepPositionsRequest { + get { return stepPositionsRequest_; } + set { + stepPositionsRequest_ = value; + } + } + + /// Field number for the "stepPositionsResponse" field. + public const int StepPositionsResponseFieldNumber = 29; + private global::Gauge.Messages.StepPositionsResponse stepPositionsResponse_; + /// + //// [StepPositionsResponse](#gauge.messages.StepPositionsResponse) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StepPositionsResponse StepPositionsResponse { + get { return stepPositionsResponse_; } + set { + stepPositionsResponse_ = value; + } + } + + /// Field number for the "implementationFileListRequest" field. + public const int ImplementationFileListRequestFieldNumber = 30; + private global::Gauge.Messages.ImplementationFileListRequest implementationFileListRequest_; + /// + //// [ImplementationFileListRequest](#gauge.messages.ImplementationFileListRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ImplementationFileListRequest ImplementationFileListRequest { + get { return implementationFileListRequest_; } + set { + implementationFileListRequest_ = value; + } + } + + /// Field number for the "implementationFileListResponse" field. + public const int ImplementationFileListResponseFieldNumber = 31; + private global::Gauge.Messages.ImplementationFileListResponse implementationFileListResponse_; + /// + //// [ImplementationFileListResponse](#gauge.messages.ImplementationFileListResponse) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ImplementationFileListResponse ImplementationFileListResponse { + get { return implementationFileListResponse_; } + set { + implementationFileListResponse_ = value; + } + } + + /// Field number for the "stubImplementationCodeRequest" field. + public const int StubImplementationCodeRequestFieldNumber = 32; + private global::Gauge.Messages.StubImplementationCodeRequest stubImplementationCodeRequest_; + /// + //// [StubImplementationCodeRequest](#gauge.messages.StubImplementationCodeRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.StubImplementationCodeRequest StubImplementationCodeRequest { + get { return stubImplementationCodeRequest_; } + set { + stubImplementationCodeRequest_ = value; + } + } + + /// Field number for the "fileDiff" field. + public const int FileDiffFieldNumber = 33; + private global::Gauge.Messages.FileDiff fileDiff_; + /// + //// [FileDiff](#gauge.messages.FileDiff) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.FileDiff FileDiff { + get { return fileDiff_; } + set { + fileDiff_ = value; + } + } + + /// Field number for the "implementationFileGlobPatternRequest" field. + public const int ImplementationFileGlobPatternRequestFieldNumber = 34; + private global::Gauge.Messages.ImplementationFileGlobPatternRequest implementationFileGlobPatternRequest_; + /// + //// [ImplementationFileGlobPatternRequest](#gauge.messages.ImplementationFileGlobPatternRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ImplementationFileGlobPatternRequest ImplementationFileGlobPatternRequest { + get { return implementationFileGlobPatternRequest_; } + set { + implementationFileGlobPatternRequest_ = value; + } + } + + /// Field number for the "implementationFileGlobPatternResponse" field. + public const int ImplementationFileGlobPatternResponseFieldNumber = 35; + private global::Gauge.Messages.ImplementationFileGlobPatternResponse implementationFileGlobPatternResponse_; + /// + //// [ImplementationFileGlobPatternResponse](#gauge.messages.ImplementationFileGlobPatternResponse) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ImplementationFileGlobPatternResponse ImplementationFileGlobPatternResponse { + get { return implementationFileGlobPatternResponse_; } + set { + implementationFileGlobPatternResponse_ = value; + } + } + + /// Field number for the "suiteExecutionResultItem" field. + public const int SuiteExecutionResultItemFieldNumber = 36; + private global::Gauge.Messages.SuiteExecutionResultItem suiteExecutionResultItem_; + /// + //// [SuiteExecutionResult ](#gauge.messages.SuiteExecutionResult ) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.SuiteExecutionResultItem SuiteExecutionResultItem { + get { return suiteExecutionResultItem_; } + set { + suiteExecutionResultItem_ = value; + } + } + + /// Field number for the "keepAlive" field. + public const int KeepAliveFieldNumber = 37; + private global::Gauge.Messages.KeepAlive keepAlive_; + /// + //// [KeepAlive ](#gauge.messages.KeepAlive ) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.KeepAlive KeepAlive { + get { return keepAlive_; } + set { + keepAlive_ = value; + } + } + + /// Field number for the "conceptExecutionStartingRequest" field. + public const int ConceptExecutionStartingRequestFieldNumber = 38; + private global::Gauge.Messages.ConceptExecutionStartingRequest conceptExecutionStartingRequest_; + /// + //// [ConceptExecutionStartingRequest](#gauge.messages.ConceptExecutionStartingRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ConceptExecutionStartingRequest ConceptExecutionStartingRequest { + get { return conceptExecutionStartingRequest_; } + set { + conceptExecutionStartingRequest_ = value; + } + } + + /// Field number for the "conceptExecutionEndingRequest" field. + public const int ConceptExecutionEndingRequestFieldNumber = 39; + private global::Gauge.Messages.ConceptExecutionEndingRequest conceptExecutionEndingRequest_; + /// + //// [ConceptExecutionEndingRequest](#gauge.messages.ConceptExecutionEndingRequest) + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ConceptExecutionEndingRequest ConceptExecutionEndingRequest { + get { return conceptExecutionEndingRequest_; } + set { + conceptExecutionEndingRequest_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Message); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Message 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(ExecutionStartingRequest, other.ExecutionStartingRequest)) return false; + if (!object.Equals(SpecExecutionStartingRequest, other.SpecExecutionStartingRequest)) return false; + if (!object.Equals(SpecExecutionEndingRequest, other.SpecExecutionEndingRequest)) return false; + if (!object.Equals(ScenarioExecutionStartingRequest, other.ScenarioExecutionStartingRequest)) return false; + if (!object.Equals(ScenarioExecutionEndingRequest, other.ScenarioExecutionEndingRequest)) return false; + if (!object.Equals(StepExecutionStartingRequest, other.StepExecutionStartingRequest)) return false; + if (!object.Equals(StepExecutionEndingRequest, other.StepExecutionEndingRequest)) return false; + if (!object.Equals(ExecuteStepRequest, other.ExecuteStepRequest)) return false; + if (!object.Equals(ExecutionEndingRequest, other.ExecutionEndingRequest)) return false; + if (!object.Equals(StepValidateRequest, other.StepValidateRequest)) return false; + if (!object.Equals(StepValidateResponse, other.StepValidateResponse)) return false; + if (!object.Equals(ExecutionStatusResponse, other.ExecutionStatusResponse)) return false; + if (!object.Equals(StepNamesRequest, other.StepNamesRequest)) return false; + if (!object.Equals(StepNamesResponse, other.StepNamesResponse)) return false; + if (!object.Equals(SuiteExecutionResult, other.SuiteExecutionResult)) return false; + if (!object.Equals(KillProcessRequest, other.KillProcessRequest)) return false; + if (!object.Equals(ScenarioDataStoreInitRequest, other.ScenarioDataStoreInitRequest)) return false; + if (!object.Equals(SpecDataStoreInitRequest, other.SpecDataStoreInitRequest)) return false; + if (!object.Equals(SuiteDataStoreInitRequest, other.SuiteDataStoreInitRequest)) return false; + if (!object.Equals(StepNameRequest, other.StepNameRequest)) return false; + if (!object.Equals(StepNameResponse, other.StepNameResponse)) return false; + if (!object.Equals(RefactorRequest, other.RefactorRequest)) return false; + if (!object.Equals(RefactorResponse, other.RefactorResponse)) return false; + if (!object.Equals(UnsupportedMessageResponse, other.UnsupportedMessageResponse)) return false; + if (!object.Equals(CacheFileRequest, other.CacheFileRequest)) return false; + if (!object.Equals(StepPositionsRequest, other.StepPositionsRequest)) return false; + if (!object.Equals(StepPositionsResponse, other.StepPositionsResponse)) return false; + if (!object.Equals(ImplementationFileListRequest, other.ImplementationFileListRequest)) return false; + if (!object.Equals(ImplementationFileListResponse, other.ImplementationFileListResponse)) return false; + if (!object.Equals(StubImplementationCodeRequest, other.StubImplementationCodeRequest)) return false; + if (!object.Equals(FileDiff, other.FileDiff)) return false; + if (!object.Equals(ImplementationFileGlobPatternRequest, other.ImplementationFileGlobPatternRequest)) return false; + if (!object.Equals(ImplementationFileGlobPatternResponse, other.ImplementationFileGlobPatternResponse)) return false; + if (!object.Equals(SuiteExecutionResultItem, other.SuiteExecutionResultItem)) return false; + if (!object.Equals(KeepAlive, other.KeepAlive)) return false; + if (!object.Equals(ConceptExecutionStartingRequest, other.ConceptExecutionStartingRequest)) return false; + if (!object.Equals(ConceptExecutionEndingRequest, other.ConceptExecutionEndingRequest)) 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.Message.Types.MessageType.ExecutionStarting) hash ^= MessageType.GetHashCode(); + if (MessageId != 0L) hash ^= MessageId.GetHashCode(); + if (executionStartingRequest_ != null) hash ^= ExecutionStartingRequest.GetHashCode(); + if (specExecutionStartingRequest_ != null) hash ^= SpecExecutionStartingRequest.GetHashCode(); + if (specExecutionEndingRequest_ != null) hash ^= SpecExecutionEndingRequest.GetHashCode(); + if (scenarioExecutionStartingRequest_ != null) hash ^= ScenarioExecutionStartingRequest.GetHashCode(); + if (scenarioExecutionEndingRequest_ != null) hash ^= ScenarioExecutionEndingRequest.GetHashCode(); + if (stepExecutionStartingRequest_ != null) hash ^= StepExecutionStartingRequest.GetHashCode(); + if (stepExecutionEndingRequest_ != null) hash ^= StepExecutionEndingRequest.GetHashCode(); + if (executeStepRequest_ != null) hash ^= ExecuteStepRequest.GetHashCode(); + if (executionEndingRequest_ != null) hash ^= ExecutionEndingRequest.GetHashCode(); + if (stepValidateRequest_ != null) hash ^= StepValidateRequest.GetHashCode(); + if (stepValidateResponse_ != null) hash ^= StepValidateResponse.GetHashCode(); + if (executionStatusResponse_ != null) hash ^= ExecutionStatusResponse.GetHashCode(); + if (stepNamesRequest_ != null) hash ^= StepNamesRequest.GetHashCode(); + if (stepNamesResponse_ != null) hash ^= StepNamesResponse.GetHashCode(); + if (suiteExecutionResult_ != null) hash ^= SuiteExecutionResult.GetHashCode(); + if (killProcessRequest_ != null) hash ^= KillProcessRequest.GetHashCode(); + if (scenarioDataStoreInitRequest_ != null) hash ^= ScenarioDataStoreInitRequest.GetHashCode(); + if (specDataStoreInitRequest_ != null) hash ^= SpecDataStoreInitRequest.GetHashCode(); + if (suiteDataStoreInitRequest_ != null) hash ^= SuiteDataStoreInitRequest.GetHashCode(); + if (stepNameRequest_ != null) hash ^= StepNameRequest.GetHashCode(); + if (stepNameResponse_ != null) hash ^= StepNameResponse.GetHashCode(); + if (refactorRequest_ != null) hash ^= RefactorRequest.GetHashCode(); + if (refactorResponse_ != null) hash ^= RefactorResponse.GetHashCode(); + if (unsupportedMessageResponse_ != null) hash ^= UnsupportedMessageResponse.GetHashCode(); + if (cacheFileRequest_ != null) hash ^= CacheFileRequest.GetHashCode(); + if (stepPositionsRequest_ != null) hash ^= StepPositionsRequest.GetHashCode(); + if (stepPositionsResponse_ != null) hash ^= StepPositionsResponse.GetHashCode(); + if (implementationFileListRequest_ != null) hash ^= ImplementationFileListRequest.GetHashCode(); + if (implementationFileListResponse_ != null) hash ^= ImplementationFileListResponse.GetHashCode(); + if (stubImplementationCodeRequest_ != null) hash ^= StubImplementationCodeRequest.GetHashCode(); + if (fileDiff_ != null) hash ^= FileDiff.GetHashCode(); + if (implementationFileGlobPatternRequest_ != null) hash ^= ImplementationFileGlobPatternRequest.GetHashCode(); + if (implementationFileGlobPatternResponse_ != null) hash ^= ImplementationFileGlobPatternResponse.GetHashCode(); + if (suiteExecutionResultItem_ != null) hash ^= SuiteExecutionResultItem.GetHashCode(); + if (keepAlive_ != null) hash ^= KeepAlive.GetHashCode(); + if (conceptExecutionStartingRequest_ != null) hash ^= ConceptExecutionStartingRequest.GetHashCode(); + if (conceptExecutionEndingRequest_ != null) hash ^= ConceptExecutionEndingRequest.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.Message.Types.MessageType.ExecutionStarting) { + output.WriteRawTag(8); + output.WriteEnum((int) MessageType); + } + if (MessageId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(MessageId); + } + if (executionStartingRequest_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ExecutionStartingRequest); + } + if (specExecutionStartingRequest_ != null) { + output.WriteRawTag(34); + output.WriteMessage(SpecExecutionStartingRequest); + } + if (specExecutionEndingRequest_ != null) { + output.WriteRawTag(42); + output.WriteMessage(SpecExecutionEndingRequest); + } + if (scenarioExecutionStartingRequest_ != null) { + output.WriteRawTag(50); + output.WriteMessage(ScenarioExecutionStartingRequest); + } + if (scenarioExecutionEndingRequest_ != null) { + output.WriteRawTag(58); + output.WriteMessage(ScenarioExecutionEndingRequest); + } + if (stepExecutionStartingRequest_ != null) { + output.WriteRawTag(66); + output.WriteMessage(StepExecutionStartingRequest); + } + if (stepExecutionEndingRequest_ != null) { + output.WriteRawTag(74); + output.WriteMessage(StepExecutionEndingRequest); + } + if (executeStepRequest_ != null) { + output.WriteRawTag(82); + output.WriteMessage(ExecuteStepRequest); + } + if (executionEndingRequest_ != null) { + output.WriteRawTag(90); + output.WriteMessage(ExecutionEndingRequest); + } + if (stepValidateRequest_ != null) { + output.WriteRawTag(98); + output.WriteMessage(StepValidateRequest); + } + if (stepValidateResponse_ != null) { + output.WriteRawTag(106); + output.WriteMessage(StepValidateResponse); + } + if (executionStatusResponse_ != null) { + output.WriteRawTag(114); + output.WriteMessage(ExecutionStatusResponse); + } + if (stepNamesRequest_ != null) { + output.WriteRawTag(122); + output.WriteMessage(StepNamesRequest); + } + if (stepNamesResponse_ != null) { + output.WriteRawTag(130, 1); + output.WriteMessage(StepNamesResponse); + } + if (suiteExecutionResult_ != null) { + output.WriteRawTag(138, 1); + output.WriteMessage(SuiteExecutionResult); + } + if (killProcessRequest_ != null) { + output.WriteRawTag(146, 1); + output.WriteMessage(KillProcessRequest); + } + if (scenarioDataStoreInitRequest_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(ScenarioDataStoreInitRequest); + } + if (specDataStoreInitRequest_ != null) { + output.WriteRawTag(162, 1); + output.WriteMessage(SpecDataStoreInitRequest); + } + if (suiteDataStoreInitRequest_ != null) { + output.WriteRawTag(170, 1); + output.WriteMessage(SuiteDataStoreInitRequest); + } + if (stepNameRequest_ != null) { + output.WriteRawTag(178, 1); + output.WriteMessage(StepNameRequest); + } + if (stepNameResponse_ != null) { + output.WriteRawTag(186, 1); + output.WriteMessage(StepNameResponse); + } + if (refactorRequest_ != null) { + output.WriteRawTag(194, 1); + output.WriteMessage(RefactorRequest); + } + if (refactorResponse_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(RefactorResponse); + } + if (unsupportedMessageResponse_ != null) { + output.WriteRawTag(210, 1); + output.WriteMessage(UnsupportedMessageResponse); + } + if (cacheFileRequest_ != null) { + output.WriteRawTag(218, 1); + output.WriteMessage(CacheFileRequest); + } + if (stepPositionsRequest_ != null) { + output.WriteRawTag(226, 1); + output.WriteMessage(StepPositionsRequest); + } + if (stepPositionsResponse_ != null) { + output.WriteRawTag(234, 1); + output.WriteMessage(StepPositionsResponse); + } + if (implementationFileListRequest_ != null) { + output.WriteRawTag(242, 1); + output.WriteMessage(ImplementationFileListRequest); + } + if (implementationFileListResponse_ != null) { + output.WriteRawTag(250, 1); + output.WriteMessage(ImplementationFileListResponse); + } + if (stubImplementationCodeRequest_ != null) { + output.WriteRawTag(130, 2); + output.WriteMessage(StubImplementationCodeRequest); + } + if (fileDiff_ != null) { + output.WriteRawTag(138, 2); + output.WriteMessage(FileDiff); + } + if (implementationFileGlobPatternRequest_ != null) { + output.WriteRawTag(146, 2); + output.WriteMessage(ImplementationFileGlobPatternRequest); + } + if (implementationFileGlobPatternResponse_ != null) { + output.WriteRawTag(154, 2); + output.WriteMessage(ImplementationFileGlobPatternResponse); + } + if (suiteExecutionResultItem_ != null) { + output.WriteRawTag(162, 2); + output.WriteMessage(SuiteExecutionResultItem); + } + if (keepAlive_ != null) { + output.WriteRawTag(170, 2); + output.WriteMessage(KeepAlive); + } + if (conceptExecutionStartingRequest_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(ConceptExecutionStartingRequest); + } + if (conceptExecutionEndingRequest_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(ConceptExecutionEndingRequest); + } + 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.Message.Types.MessageType.ExecutionStarting) { + output.WriteRawTag(8); + output.WriteEnum((int) MessageType); + } + if (MessageId != 0L) { + output.WriteRawTag(16); + output.WriteInt64(MessageId); + } + if (executionStartingRequest_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ExecutionStartingRequest); + } + if (specExecutionStartingRequest_ != null) { + output.WriteRawTag(34); + output.WriteMessage(SpecExecutionStartingRequest); + } + if (specExecutionEndingRequest_ != null) { + output.WriteRawTag(42); + output.WriteMessage(SpecExecutionEndingRequest); + } + if (scenarioExecutionStartingRequest_ != null) { + output.WriteRawTag(50); + output.WriteMessage(ScenarioExecutionStartingRequest); + } + if (scenarioExecutionEndingRequest_ != null) { + output.WriteRawTag(58); + output.WriteMessage(ScenarioExecutionEndingRequest); + } + if (stepExecutionStartingRequest_ != null) { + output.WriteRawTag(66); + output.WriteMessage(StepExecutionStartingRequest); + } + if (stepExecutionEndingRequest_ != null) { + output.WriteRawTag(74); + output.WriteMessage(StepExecutionEndingRequest); + } + if (executeStepRequest_ != null) { + output.WriteRawTag(82); + output.WriteMessage(ExecuteStepRequest); + } + if (executionEndingRequest_ != null) { + output.WriteRawTag(90); + output.WriteMessage(ExecutionEndingRequest); + } + if (stepValidateRequest_ != null) { + output.WriteRawTag(98); + output.WriteMessage(StepValidateRequest); + } + if (stepValidateResponse_ != null) { + output.WriteRawTag(106); + output.WriteMessage(StepValidateResponse); + } + if (executionStatusResponse_ != null) { + output.WriteRawTag(114); + output.WriteMessage(ExecutionStatusResponse); + } + if (stepNamesRequest_ != null) { + output.WriteRawTag(122); + output.WriteMessage(StepNamesRequest); + } + if (stepNamesResponse_ != null) { + output.WriteRawTag(130, 1); + output.WriteMessage(StepNamesResponse); + } + if (suiteExecutionResult_ != null) { + output.WriteRawTag(138, 1); + output.WriteMessage(SuiteExecutionResult); + } + if (killProcessRequest_ != null) { + output.WriteRawTag(146, 1); + output.WriteMessage(KillProcessRequest); + } + if (scenarioDataStoreInitRequest_ != null) { + output.WriteRawTag(154, 1); + output.WriteMessage(ScenarioDataStoreInitRequest); + } + if (specDataStoreInitRequest_ != null) { + output.WriteRawTag(162, 1); + output.WriteMessage(SpecDataStoreInitRequest); + } + if (suiteDataStoreInitRequest_ != null) { + output.WriteRawTag(170, 1); + output.WriteMessage(SuiteDataStoreInitRequest); + } + if (stepNameRequest_ != null) { + output.WriteRawTag(178, 1); + output.WriteMessage(StepNameRequest); + } + if (stepNameResponse_ != null) { + output.WriteRawTag(186, 1); + output.WriteMessage(StepNameResponse); + } + if (refactorRequest_ != null) { + output.WriteRawTag(194, 1); + output.WriteMessage(RefactorRequest); + } + if (refactorResponse_ != null) { + output.WriteRawTag(202, 1); + output.WriteMessage(RefactorResponse); + } + if (unsupportedMessageResponse_ != null) { + output.WriteRawTag(210, 1); + output.WriteMessage(UnsupportedMessageResponse); + } + if (cacheFileRequest_ != null) { + output.WriteRawTag(218, 1); + output.WriteMessage(CacheFileRequest); + } + if (stepPositionsRequest_ != null) { + output.WriteRawTag(226, 1); + output.WriteMessage(StepPositionsRequest); + } + if (stepPositionsResponse_ != null) { + output.WriteRawTag(234, 1); + output.WriteMessage(StepPositionsResponse); + } + if (implementationFileListRequest_ != null) { + output.WriteRawTag(242, 1); + output.WriteMessage(ImplementationFileListRequest); + } + if (implementationFileListResponse_ != null) { + output.WriteRawTag(250, 1); + output.WriteMessage(ImplementationFileListResponse); + } + if (stubImplementationCodeRequest_ != null) { + output.WriteRawTag(130, 2); + output.WriteMessage(StubImplementationCodeRequest); + } + if (fileDiff_ != null) { + output.WriteRawTag(138, 2); + output.WriteMessage(FileDiff); + } + if (implementationFileGlobPatternRequest_ != null) { + output.WriteRawTag(146, 2); + output.WriteMessage(ImplementationFileGlobPatternRequest); + } + if (implementationFileGlobPatternResponse_ != null) { + output.WriteRawTag(154, 2); + output.WriteMessage(ImplementationFileGlobPatternResponse); + } + if (suiteExecutionResultItem_ != null) { + output.WriteRawTag(162, 2); + output.WriteMessage(SuiteExecutionResultItem); + } + if (keepAlive_ != null) { + output.WriteRawTag(170, 2); + output.WriteMessage(KeepAlive); + } + if (conceptExecutionStartingRequest_ != null) { + output.WriteRawTag(178, 2); + output.WriteMessage(ConceptExecutionStartingRequest); + } + if (conceptExecutionEndingRequest_ != null) { + output.WriteRawTag(186, 2); + output.WriteMessage(ConceptExecutionEndingRequest); + } + 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.Message.Types.MessageType.ExecutionStarting) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) MessageType); + } + if (MessageId != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(MessageId); + } + if (executionStartingRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExecutionStartingRequest); + } + if (specExecutionStartingRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpecExecutionStartingRequest); + } + if (specExecutionEndingRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(SpecExecutionEndingRequest); + } + if (scenarioExecutionStartingRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ScenarioExecutionStartingRequest); + } + if (scenarioExecutionEndingRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ScenarioExecutionEndingRequest); + } + if (stepExecutionStartingRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepExecutionStartingRequest); + } + if (stepExecutionEndingRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepExecutionEndingRequest); + } + if (executeStepRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExecuteStepRequest); + } + if (executionEndingRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExecutionEndingRequest); + } + if (stepValidateRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepValidateRequest); + } + if (stepValidateResponse_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepValidateResponse); + } + if (executionStatusResponse_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExecutionStatusResponse); + } + if (stepNamesRequest_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepNamesRequest); + } + if (stepNamesResponse_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StepNamesResponse); + } + if (suiteExecutionResult_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SuiteExecutionResult); + } + if (killProcessRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(KillProcessRequest); + } + if (scenarioDataStoreInitRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ScenarioDataStoreInitRequest); + } + if (specDataStoreInitRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SpecDataStoreInitRequest); + } + if (suiteDataStoreInitRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SuiteDataStoreInitRequest); + } + if (stepNameRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StepNameRequest); + } + if (stepNameResponse_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StepNameResponse); + } + if (refactorRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(RefactorRequest); + } + if (refactorResponse_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(RefactorResponse); + } + if (unsupportedMessageResponse_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(UnsupportedMessageResponse); + } + if (cacheFileRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(CacheFileRequest); + } + if (stepPositionsRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StepPositionsRequest); + } + if (stepPositionsResponse_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StepPositionsResponse); + } + if (implementationFileListRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ImplementationFileListRequest); + } + if (implementationFileListResponse_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ImplementationFileListResponse); + } + if (stubImplementationCodeRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(StubImplementationCodeRequest); + } + if (fileDiff_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(FileDiff); + } + if (implementationFileGlobPatternRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ImplementationFileGlobPatternRequest); + } + if (implementationFileGlobPatternResponse_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ImplementationFileGlobPatternResponse); + } + if (suiteExecutionResultItem_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(SuiteExecutionResultItem); + } + if (keepAlive_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(KeepAlive); + } + if (conceptExecutionStartingRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ConceptExecutionStartingRequest); + } + if (conceptExecutionEndingRequest_ != null) { + size += 2 + pb::CodedOutputStream.ComputeMessageSize(ConceptExecutionEndingRequest); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Message other) { + if (other == null) { + return; + } + if (other.MessageType != global::Gauge.Messages.Message.Types.MessageType.ExecutionStarting) { + MessageType = other.MessageType; + } + if (other.MessageId != 0L) { + MessageId = other.MessageId; + } + if (other.executionStartingRequest_ != null) { + if (executionStartingRequest_ == null) { + ExecutionStartingRequest = new global::Gauge.Messages.ExecutionStartingRequest(); + } + ExecutionStartingRequest.MergeFrom(other.ExecutionStartingRequest); + } + if (other.specExecutionStartingRequest_ != null) { + if (specExecutionStartingRequest_ == null) { + SpecExecutionStartingRequest = new global::Gauge.Messages.SpecExecutionStartingRequest(); + } + SpecExecutionStartingRequest.MergeFrom(other.SpecExecutionStartingRequest); + } + if (other.specExecutionEndingRequest_ != null) { + if (specExecutionEndingRequest_ == null) { + SpecExecutionEndingRequest = new global::Gauge.Messages.SpecExecutionEndingRequest(); + } + SpecExecutionEndingRequest.MergeFrom(other.SpecExecutionEndingRequest); + } + if (other.scenarioExecutionStartingRequest_ != null) { + if (scenarioExecutionStartingRequest_ == null) { + ScenarioExecutionStartingRequest = new global::Gauge.Messages.ScenarioExecutionStartingRequest(); + } + ScenarioExecutionStartingRequest.MergeFrom(other.ScenarioExecutionStartingRequest); + } + if (other.scenarioExecutionEndingRequest_ != null) { + if (scenarioExecutionEndingRequest_ == null) { + ScenarioExecutionEndingRequest = new global::Gauge.Messages.ScenarioExecutionEndingRequest(); + } + ScenarioExecutionEndingRequest.MergeFrom(other.ScenarioExecutionEndingRequest); + } + if (other.stepExecutionStartingRequest_ != null) { + if (stepExecutionStartingRequest_ == null) { + StepExecutionStartingRequest = new global::Gauge.Messages.StepExecutionStartingRequest(); + } + StepExecutionStartingRequest.MergeFrom(other.StepExecutionStartingRequest); + } + if (other.stepExecutionEndingRequest_ != null) { + if (stepExecutionEndingRequest_ == null) { + StepExecutionEndingRequest = new global::Gauge.Messages.StepExecutionEndingRequest(); + } + StepExecutionEndingRequest.MergeFrom(other.StepExecutionEndingRequest); + } + if (other.executeStepRequest_ != null) { + if (executeStepRequest_ == null) { + ExecuteStepRequest = new global::Gauge.Messages.ExecuteStepRequest(); + } + ExecuteStepRequest.MergeFrom(other.ExecuteStepRequest); + } + if (other.executionEndingRequest_ != null) { + if (executionEndingRequest_ == null) { + ExecutionEndingRequest = new global::Gauge.Messages.ExecutionEndingRequest(); + } + ExecutionEndingRequest.MergeFrom(other.ExecutionEndingRequest); + } + if (other.stepValidateRequest_ != null) { + if (stepValidateRequest_ == null) { + StepValidateRequest = new global::Gauge.Messages.StepValidateRequest(); + } + StepValidateRequest.MergeFrom(other.StepValidateRequest); + } + if (other.stepValidateResponse_ != null) { + if (stepValidateResponse_ == null) { + StepValidateResponse = new global::Gauge.Messages.StepValidateResponse(); + } + StepValidateResponse.MergeFrom(other.StepValidateResponse); + } + if (other.executionStatusResponse_ != null) { + if (executionStatusResponse_ == null) { + ExecutionStatusResponse = new global::Gauge.Messages.ExecutionStatusResponse(); + } + ExecutionStatusResponse.MergeFrom(other.ExecutionStatusResponse); + } + if (other.stepNamesRequest_ != null) { + if (stepNamesRequest_ == null) { + StepNamesRequest = new global::Gauge.Messages.StepNamesRequest(); + } + StepNamesRequest.MergeFrom(other.StepNamesRequest); + } + if (other.stepNamesResponse_ != null) { + if (stepNamesResponse_ == null) { + StepNamesResponse = new global::Gauge.Messages.StepNamesResponse(); + } + StepNamesResponse.MergeFrom(other.StepNamesResponse); + } + if (other.suiteExecutionResult_ != null) { + if (suiteExecutionResult_ == null) { + SuiteExecutionResult = new global::Gauge.Messages.SuiteExecutionResult(); + } + SuiteExecutionResult.MergeFrom(other.SuiteExecutionResult); + } + if (other.killProcessRequest_ != null) { + if (killProcessRequest_ == null) { + KillProcessRequest = new global::Gauge.Messages.KillProcessRequest(); + } + KillProcessRequest.MergeFrom(other.KillProcessRequest); + } + if (other.scenarioDataStoreInitRequest_ != null) { + if (scenarioDataStoreInitRequest_ == null) { + ScenarioDataStoreInitRequest = new global::Gauge.Messages.ScenarioDataStoreInitRequest(); + } + ScenarioDataStoreInitRequest.MergeFrom(other.ScenarioDataStoreInitRequest); + } + if (other.specDataStoreInitRequest_ != null) { + if (specDataStoreInitRequest_ == null) { + SpecDataStoreInitRequest = new global::Gauge.Messages.SpecDataStoreInitRequest(); + } + SpecDataStoreInitRequest.MergeFrom(other.SpecDataStoreInitRequest); + } + if (other.suiteDataStoreInitRequest_ != null) { + if (suiteDataStoreInitRequest_ == null) { + SuiteDataStoreInitRequest = new global::Gauge.Messages.SuiteDataStoreInitRequest(); + } + SuiteDataStoreInitRequest.MergeFrom(other.SuiteDataStoreInitRequest); + } + if (other.stepNameRequest_ != null) { + if (stepNameRequest_ == null) { + StepNameRequest = new global::Gauge.Messages.StepNameRequest(); + } + StepNameRequest.MergeFrom(other.StepNameRequest); + } + if (other.stepNameResponse_ != null) { + if (stepNameResponse_ == null) { + StepNameResponse = new global::Gauge.Messages.StepNameResponse(); + } + StepNameResponse.MergeFrom(other.StepNameResponse); + } + if (other.refactorRequest_ != null) { + if (refactorRequest_ == null) { + RefactorRequest = new global::Gauge.Messages.RefactorRequest(); + } + RefactorRequest.MergeFrom(other.RefactorRequest); + } + if (other.refactorResponse_ != null) { + if (refactorResponse_ == null) { + RefactorResponse = new global::Gauge.Messages.RefactorResponse(); + } + RefactorResponse.MergeFrom(other.RefactorResponse); + } + if (other.unsupportedMessageResponse_ != null) { + if (unsupportedMessageResponse_ == null) { + UnsupportedMessageResponse = new global::Gauge.Messages.UnsupportedMessageResponse(); + } + UnsupportedMessageResponse.MergeFrom(other.UnsupportedMessageResponse); + } + if (other.cacheFileRequest_ != null) { + if (cacheFileRequest_ == null) { + CacheFileRequest = new global::Gauge.Messages.CacheFileRequest(); + } + CacheFileRequest.MergeFrom(other.CacheFileRequest); + } + if (other.stepPositionsRequest_ != null) { + if (stepPositionsRequest_ == null) { + StepPositionsRequest = new global::Gauge.Messages.StepPositionsRequest(); + } + StepPositionsRequest.MergeFrom(other.StepPositionsRequest); + } + if (other.stepPositionsResponse_ != null) { + if (stepPositionsResponse_ == null) { + StepPositionsResponse = new global::Gauge.Messages.StepPositionsResponse(); + } + StepPositionsResponse.MergeFrom(other.StepPositionsResponse); + } + if (other.implementationFileListRequest_ != null) { + if (implementationFileListRequest_ == null) { + ImplementationFileListRequest = new global::Gauge.Messages.ImplementationFileListRequest(); + } + ImplementationFileListRequest.MergeFrom(other.ImplementationFileListRequest); + } + if (other.implementationFileListResponse_ != null) { + if (implementationFileListResponse_ == null) { + ImplementationFileListResponse = new global::Gauge.Messages.ImplementationFileListResponse(); + } + ImplementationFileListResponse.MergeFrom(other.ImplementationFileListResponse); + } + if (other.stubImplementationCodeRequest_ != null) { + if (stubImplementationCodeRequest_ == null) { + StubImplementationCodeRequest = new global::Gauge.Messages.StubImplementationCodeRequest(); + } + StubImplementationCodeRequest.MergeFrom(other.StubImplementationCodeRequest); + } + if (other.fileDiff_ != null) { + if (fileDiff_ == null) { + FileDiff = new global::Gauge.Messages.FileDiff(); + } + FileDiff.MergeFrom(other.FileDiff); + } + if (other.implementationFileGlobPatternRequest_ != null) { + if (implementationFileGlobPatternRequest_ == null) { + ImplementationFileGlobPatternRequest = new global::Gauge.Messages.ImplementationFileGlobPatternRequest(); + } + ImplementationFileGlobPatternRequest.MergeFrom(other.ImplementationFileGlobPatternRequest); + } + if (other.implementationFileGlobPatternResponse_ != null) { + if (implementationFileGlobPatternResponse_ == null) { + ImplementationFileGlobPatternResponse = new global::Gauge.Messages.ImplementationFileGlobPatternResponse(); + } + ImplementationFileGlobPatternResponse.MergeFrom(other.ImplementationFileGlobPatternResponse); + } + if (other.suiteExecutionResultItem_ != null) { + if (suiteExecutionResultItem_ == null) { + SuiteExecutionResultItem = new global::Gauge.Messages.SuiteExecutionResultItem(); + } + SuiteExecutionResultItem.MergeFrom(other.SuiteExecutionResultItem); + } + if (other.keepAlive_ != null) { + if (keepAlive_ == null) { + KeepAlive = new global::Gauge.Messages.KeepAlive(); + } + KeepAlive.MergeFrom(other.KeepAlive); + } + if (other.conceptExecutionStartingRequest_ != null) { + if (conceptExecutionStartingRequest_ == null) { + ConceptExecutionStartingRequest = new global::Gauge.Messages.ConceptExecutionStartingRequest(); + } + ConceptExecutionStartingRequest.MergeFrom(other.ConceptExecutionStartingRequest); + } + if (other.conceptExecutionEndingRequest_ != null) { + if (conceptExecutionEndingRequest_ == null) { + ConceptExecutionEndingRequest = new global::Gauge.Messages.ConceptExecutionEndingRequest(); + } + ConceptExecutionEndingRequest.MergeFrom(other.ConceptExecutionEndingRequest); + } + _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.Message.Types.MessageType) input.ReadEnum(); + break; + } + case 16: { + MessageId = input.ReadInt64(); + break; + } + case 26: { + if (executionStartingRequest_ == null) { + ExecutionStartingRequest = new global::Gauge.Messages.ExecutionStartingRequest(); + } + input.ReadMessage(ExecutionStartingRequest); + break; + } + case 34: { + if (specExecutionStartingRequest_ == null) { + SpecExecutionStartingRequest = new global::Gauge.Messages.SpecExecutionStartingRequest(); + } + input.ReadMessage(SpecExecutionStartingRequest); + break; + } + case 42: { + if (specExecutionEndingRequest_ == null) { + SpecExecutionEndingRequest = new global::Gauge.Messages.SpecExecutionEndingRequest(); + } + input.ReadMessage(SpecExecutionEndingRequest); + break; + } + case 50: { + if (scenarioExecutionStartingRequest_ == null) { + ScenarioExecutionStartingRequest = new global::Gauge.Messages.ScenarioExecutionStartingRequest(); + } + input.ReadMessage(ScenarioExecutionStartingRequest); + break; + } + case 58: { + if (scenarioExecutionEndingRequest_ == null) { + ScenarioExecutionEndingRequest = new global::Gauge.Messages.ScenarioExecutionEndingRequest(); + } + input.ReadMessage(ScenarioExecutionEndingRequest); + break; + } + case 66: { + if (stepExecutionStartingRequest_ == null) { + StepExecutionStartingRequest = new global::Gauge.Messages.StepExecutionStartingRequest(); + } + input.ReadMessage(StepExecutionStartingRequest); + break; + } + case 74: { + if (stepExecutionEndingRequest_ == null) { + StepExecutionEndingRequest = new global::Gauge.Messages.StepExecutionEndingRequest(); + } + input.ReadMessage(StepExecutionEndingRequest); + break; + } + case 82: { + if (executeStepRequest_ == null) { + ExecuteStepRequest = new global::Gauge.Messages.ExecuteStepRequest(); + } + input.ReadMessage(ExecuteStepRequest); + break; + } + case 90: { + if (executionEndingRequest_ == null) { + ExecutionEndingRequest = new global::Gauge.Messages.ExecutionEndingRequest(); + } + input.ReadMessage(ExecutionEndingRequest); + break; + } + case 98: { + if (stepValidateRequest_ == null) { + StepValidateRequest = new global::Gauge.Messages.StepValidateRequest(); + } + input.ReadMessage(StepValidateRequest); + break; + } + case 106: { + if (stepValidateResponse_ == null) { + StepValidateResponse = new global::Gauge.Messages.StepValidateResponse(); + } + input.ReadMessage(StepValidateResponse); + break; + } + case 114: { + if (executionStatusResponse_ == null) { + ExecutionStatusResponse = new global::Gauge.Messages.ExecutionStatusResponse(); + } + input.ReadMessage(ExecutionStatusResponse); + break; + } + case 122: { + if (stepNamesRequest_ == null) { + StepNamesRequest = new global::Gauge.Messages.StepNamesRequest(); + } + input.ReadMessage(StepNamesRequest); + break; + } + case 130: { + if (stepNamesResponse_ == null) { + StepNamesResponse = new global::Gauge.Messages.StepNamesResponse(); + } + input.ReadMessage(StepNamesResponse); + break; + } + case 138: { + if (suiteExecutionResult_ == null) { + SuiteExecutionResult = new global::Gauge.Messages.SuiteExecutionResult(); + } + input.ReadMessage(SuiteExecutionResult); + break; + } + case 146: { + if (killProcessRequest_ == null) { + KillProcessRequest = new global::Gauge.Messages.KillProcessRequest(); + } + input.ReadMessage(KillProcessRequest); + break; + } + case 154: { + if (scenarioDataStoreInitRequest_ == null) { + ScenarioDataStoreInitRequest = new global::Gauge.Messages.ScenarioDataStoreInitRequest(); + } + input.ReadMessage(ScenarioDataStoreInitRequest); + break; + } + case 162: { + if (specDataStoreInitRequest_ == null) { + SpecDataStoreInitRequest = new global::Gauge.Messages.SpecDataStoreInitRequest(); + } + input.ReadMessage(SpecDataStoreInitRequest); + break; + } + case 170: { + if (suiteDataStoreInitRequest_ == null) { + SuiteDataStoreInitRequest = new global::Gauge.Messages.SuiteDataStoreInitRequest(); + } + input.ReadMessage(SuiteDataStoreInitRequest); + break; + } + case 178: { + if (stepNameRequest_ == null) { + StepNameRequest = new global::Gauge.Messages.StepNameRequest(); + } + input.ReadMessage(StepNameRequest); + break; + } + case 186: { + if (stepNameResponse_ == null) { + StepNameResponse = new global::Gauge.Messages.StepNameResponse(); + } + input.ReadMessage(StepNameResponse); + break; + } + case 194: { + if (refactorRequest_ == null) { + RefactorRequest = new global::Gauge.Messages.RefactorRequest(); + } + input.ReadMessage(RefactorRequest); + break; + } + case 202: { + if (refactorResponse_ == null) { + RefactorResponse = new global::Gauge.Messages.RefactorResponse(); + } + input.ReadMessage(RefactorResponse); + break; + } + case 210: { + if (unsupportedMessageResponse_ == null) { + UnsupportedMessageResponse = new global::Gauge.Messages.UnsupportedMessageResponse(); + } + input.ReadMessage(UnsupportedMessageResponse); + break; + } + case 218: { + if (cacheFileRequest_ == null) { + CacheFileRequest = new global::Gauge.Messages.CacheFileRequest(); + } + input.ReadMessage(CacheFileRequest); + break; + } + case 226: { + if (stepPositionsRequest_ == null) { + StepPositionsRequest = new global::Gauge.Messages.StepPositionsRequest(); + } + input.ReadMessage(StepPositionsRequest); + break; + } + case 234: { + if (stepPositionsResponse_ == null) { + StepPositionsResponse = new global::Gauge.Messages.StepPositionsResponse(); + } + input.ReadMessage(StepPositionsResponse); + break; + } + case 242: { + if (implementationFileListRequest_ == null) { + ImplementationFileListRequest = new global::Gauge.Messages.ImplementationFileListRequest(); + } + input.ReadMessage(ImplementationFileListRequest); + break; + } + case 250: { + if (implementationFileListResponse_ == null) { + ImplementationFileListResponse = new global::Gauge.Messages.ImplementationFileListResponse(); + } + input.ReadMessage(ImplementationFileListResponse); + break; + } + case 258: { + if (stubImplementationCodeRequest_ == null) { + StubImplementationCodeRequest = new global::Gauge.Messages.StubImplementationCodeRequest(); + } + input.ReadMessage(StubImplementationCodeRequest); + break; + } + case 266: { + if (fileDiff_ == null) { + FileDiff = new global::Gauge.Messages.FileDiff(); + } + input.ReadMessage(FileDiff); + break; + } + case 274: { + if (implementationFileGlobPatternRequest_ == null) { + ImplementationFileGlobPatternRequest = new global::Gauge.Messages.ImplementationFileGlobPatternRequest(); + } + input.ReadMessage(ImplementationFileGlobPatternRequest); + break; + } + case 282: { + if (implementationFileGlobPatternResponse_ == null) { + ImplementationFileGlobPatternResponse = new global::Gauge.Messages.ImplementationFileGlobPatternResponse(); + } + input.ReadMessage(ImplementationFileGlobPatternResponse); + break; + } + case 290: { + if (suiteExecutionResultItem_ == null) { + SuiteExecutionResultItem = new global::Gauge.Messages.SuiteExecutionResultItem(); + } + input.ReadMessage(SuiteExecutionResultItem); + break; + } + case 298: { + if (keepAlive_ == null) { + KeepAlive = new global::Gauge.Messages.KeepAlive(); + } + input.ReadMessage(KeepAlive); + break; + } + case 306: { + if (conceptExecutionStartingRequest_ == null) { + ConceptExecutionStartingRequest = new global::Gauge.Messages.ConceptExecutionStartingRequest(); + } + input.ReadMessage(ConceptExecutionStartingRequest); + break; + } + case 314: { + if (conceptExecutionEndingRequest_ == null) { + ConceptExecutionEndingRequest = new global::Gauge.Messages.ConceptExecutionEndingRequest(); + } + input.ReadMessage(ConceptExecutionEndingRequest); + 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.Message.Types.MessageType) input.ReadEnum(); + break; + } + case 16: { + MessageId = input.ReadInt64(); + break; + } + case 26: { + if (executionStartingRequest_ == null) { + ExecutionStartingRequest = new global::Gauge.Messages.ExecutionStartingRequest(); + } + input.ReadMessage(ExecutionStartingRequest); + break; + } + case 34: { + if (specExecutionStartingRequest_ == null) { + SpecExecutionStartingRequest = new global::Gauge.Messages.SpecExecutionStartingRequest(); + } + input.ReadMessage(SpecExecutionStartingRequest); + break; + } + case 42: { + if (specExecutionEndingRequest_ == null) { + SpecExecutionEndingRequest = new global::Gauge.Messages.SpecExecutionEndingRequest(); + } + input.ReadMessage(SpecExecutionEndingRequest); + break; + } + case 50: { + if (scenarioExecutionStartingRequest_ == null) { + ScenarioExecutionStartingRequest = new global::Gauge.Messages.ScenarioExecutionStartingRequest(); + } + input.ReadMessage(ScenarioExecutionStartingRequest); + break; + } + case 58: { + if (scenarioExecutionEndingRequest_ == null) { + ScenarioExecutionEndingRequest = new global::Gauge.Messages.ScenarioExecutionEndingRequest(); + } + input.ReadMessage(ScenarioExecutionEndingRequest); + break; + } + case 66: { + if (stepExecutionStartingRequest_ == null) { + StepExecutionStartingRequest = new global::Gauge.Messages.StepExecutionStartingRequest(); + } + input.ReadMessage(StepExecutionStartingRequest); + break; + } + case 74: { + if (stepExecutionEndingRequest_ == null) { + StepExecutionEndingRequest = new global::Gauge.Messages.StepExecutionEndingRequest(); + } + input.ReadMessage(StepExecutionEndingRequest); + break; + } + case 82: { + if (executeStepRequest_ == null) { + ExecuteStepRequest = new global::Gauge.Messages.ExecuteStepRequest(); + } + input.ReadMessage(ExecuteStepRequest); + break; + } + case 90: { + if (executionEndingRequest_ == null) { + ExecutionEndingRequest = new global::Gauge.Messages.ExecutionEndingRequest(); + } + input.ReadMessage(ExecutionEndingRequest); + break; + } + case 98: { + if (stepValidateRequest_ == null) { + StepValidateRequest = new global::Gauge.Messages.StepValidateRequest(); + } + input.ReadMessage(StepValidateRequest); + break; + } + case 106: { + if (stepValidateResponse_ == null) { + StepValidateResponse = new global::Gauge.Messages.StepValidateResponse(); + } + input.ReadMessage(StepValidateResponse); + break; + } + case 114: { + if (executionStatusResponse_ == null) { + ExecutionStatusResponse = new global::Gauge.Messages.ExecutionStatusResponse(); + } + input.ReadMessage(ExecutionStatusResponse); + break; + } + case 122: { + if (stepNamesRequest_ == null) { + StepNamesRequest = new global::Gauge.Messages.StepNamesRequest(); + } + input.ReadMessage(StepNamesRequest); + break; + } + case 130: { + if (stepNamesResponse_ == null) { + StepNamesResponse = new global::Gauge.Messages.StepNamesResponse(); + } + input.ReadMessage(StepNamesResponse); + break; + } + case 138: { + if (suiteExecutionResult_ == null) { + SuiteExecutionResult = new global::Gauge.Messages.SuiteExecutionResult(); + } + input.ReadMessage(SuiteExecutionResult); + break; + } + case 146: { + if (killProcessRequest_ == null) { + KillProcessRequest = new global::Gauge.Messages.KillProcessRequest(); + } + input.ReadMessage(KillProcessRequest); + break; + } + case 154: { + if (scenarioDataStoreInitRequest_ == null) { + ScenarioDataStoreInitRequest = new global::Gauge.Messages.ScenarioDataStoreInitRequest(); + } + input.ReadMessage(ScenarioDataStoreInitRequest); + break; + } + case 162: { + if (specDataStoreInitRequest_ == null) { + SpecDataStoreInitRequest = new global::Gauge.Messages.SpecDataStoreInitRequest(); + } + input.ReadMessage(SpecDataStoreInitRequest); + break; + } + case 170: { + if (suiteDataStoreInitRequest_ == null) { + SuiteDataStoreInitRequest = new global::Gauge.Messages.SuiteDataStoreInitRequest(); + } + input.ReadMessage(SuiteDataStoreInitRequest); + break; + } + case 178: { + if (stepNameRequest_ == null) { + StepNameRequest = new global::Gauge.Messages.StepNameRequest(); + } + input.ReadMessage(StepNameRequest); + break; + } + case 186: { + if (stepNameResponse_ == null) { + StepNameResponse = new global::Gauge.Messages.StepNameResponse(); + } + input.ReadMessage(StepNameResponse); + break; + } + case 194: { + if (refactorRequest_ == null) { + RefactorRequest = new global::Gauge.Messages.RefactorRequest(); + } + input.ReadMessage(RefactorRequest); + break; + } + case 202: { + if (refactorResponse_ == null) { + RefactorResponse = new global::Gauge.Messages.RefactorResponse(); + } + input.ReadMessage(RefactorResponse); + break; + } + case 210: { + if (unsupportedMessageResponse_ == null) { + UnsupportedMessageResponse = new global::Gauge.Messages.UnsupportedMessageResponse(); + } + input.ReadMessage(UnsupportedMessageResponse); + break; + } + case 218: { + if (cacheFileRequest_ == null) { + CacheFileRequest = new global::Gauge.Messages.CacheFileRequest(); + } + input.ReadMessage(CacheFileRequest); + break; + } + case 226: { + if (stepPositionsRequest_ == null) { + StepPositionsRequest = new global::Gauge.Messages.StepPositionsRequest(); + } + input.ReadMessage(StepPositionsRequest); + break; + } + case 234: { + if (stepPositionsResponse_ == null) { + StepPositionsResponse = new global::Gauge.Messages.StepPositionsResponse(); + } + input.ReadMessage(StepPositionsResponse); + break; + } + case 242: { + if (implementationFileListRequest_ == null) { + ImplementationFileListRequest = new global::Gauge.Messages.ImplementationFileListRequest(); + } + input.ReadMessage(ImplementationFileListRequest); + break; + } + case 250: { + if (implementationFileListResponse_ == null) { + ImplementationFileListResponse = new global::Gauge.Messages.ImplementationFileListResponse(); + } + input.ReadMessage(ImplementationFileListResponse); + break; + } + case 258: { + if (stubImplementationCodeRequest_ == null) { + StubImplementationCodeRequest = new global::Gauge.Messages.StubImplementationCodeRequest(); + } + input.ReadMessage(StubImplementationCodeRequest); + break; + } + case 266: { + if (fileDiff_ == null) { + FileDiff = new global::Gauge.Messages.FileDiff(); + } + input.ReadMessage(FileDiff); + break; + } + case 274: { + if (implementationFileGlobPatternRequest_ == null) { + ImplementationFileGlobPatternRequest = new global::Gauge.Messages.ImplementationFileGlobPatternRequest(); + } + input.ReadMessage(ImplementationFileGlobPatternRequest); + break; + } + case 282: { + if (implementationFileGlobPatternResponse_ == null) { + ImplementationFileGlobPatternResponse = new global::Gauge.Messages.ImplementationFileGlobPatternResponse(); + } + input.ReadMessage(ImplementationFileGlobPatternResponse); + break; + } + case 290: { + if (suiteExecutionResultItem_ == null) { + SuiteExecutionResultItem = new global::Gauge.Messages.SuiteExecutionResultItem(); + } + input.ReadMessage(SuiteExecutionResultItem); + break; + } + case 298: { + if (keepAlive_ == null) { + KeepAlive = new global::Gauge.Messages.KeepAlive(); + } + input.ReadMessage(KeepAlive); + break; + } + case 306: { + if (conceptExecutionStartingRequest_ == null) { + ConceptExecutionStartingRequest = new global::Gauge.Messages.ConceptExecutionStartingRequest(); + } + input.ReadMessage(ConceptExecutionStartingRequest); + break; + } + case 314: { + if (conceptExecutionEndingRequest_ == null) { + ConceptExecutionEndingRequest = new global::Gauge.Messages.ConceptExecutionEndingRequest(); + } + input.ReadMessage(ConceptExecutionEndingRequest); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Message message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum MessageType { + [pbr::OriginalName("ExecutionStarting")] ExecutionStarting = 0, + [pbr::OriginalName("SpecExecutionStarting")] SpecExecutionStarting = 1, + [pbr::OriginalName("SpecExecutionEnding")] SpecExecutionEnding = 2, + [pbr::OriginalName("ScenarioExecutionStarting")] ScenarioExecutionStarting = 3, + [pbr::OriginalName("ScenarioExecutionEnding")] ScenarioExecutionEnding = 4, + [pbr::OriginalName("StepExecutionStarting")] StepExecutionStarting = 5, + [pbr::OriginalName("StepExecutionEnding")] StepExecutionEnding = 6, + [pbr::OriginalName("ExecuteStep")] ExecuteStep = 7, + [pbr::OriginalName("ExecutionEnding")] ExecutionEnding = 8, + [pbr::OriginalName("StepValidateRequest")] StepValidateRequest = 9, + [pbr::OriginalName("StepValidateResponse")] StepValidateResponse = 10, + [pbr::OriginalName("ExecutionStatusResponse")] ExecutionStatusResponse = 11, + [pbr::OriginalName("StepNamesRequest")] StepNamesRequest = 12, + [pbr::OriginalName("StepNamesResponse")] StepNamesResponse = 13, + [pbr::OriginalName("KillProcessRequest")] KillProcessRequest = 14, + [pbr::OriginalName("SuiteExecutionResult")] SuiteExecutionResult = 15, + [pbr::OriginalName("ScenarioDataStoreInit")] ScenarioDataStoreInit = 16, + [pbr::OriginalName("SpecDataStoreInit")] SpecDataStoreInit = 17, + [pbr::OriginalName("SuiteDataStoreInit")] SuiteDataStoreInit = 18, + [pbr::OriginalName("StepNameRequest")] StepNameRequest = 19, + [pbr::OriginalName("StepNameResponse")] StepNameResponse = 20, + [pbr::OriginalName("RefactorRequest")] RefactorRequest = 21, + [pbr::OriginalName("RefactorResponse")] RefactorResponse = 22, + [pbr::OriginalName("UnsupportedMessageResponse")] UnsupportedMessageResponse = 23, + [pbr::OriginalName("CacheFileRequest")] CacheFileRequest = 24, + [pbr::OriginalName("StepPositionsRequest")] StepPositionsRequest = 25, + [pbr::OriginalName("StepPositionsResponse")] StepPositionsResponse = 26, + [pbr::OriginalName("ImplementationFileListRequest")] ImplementationFileListRequest = 27, + [pbr::OriginalName("ImplementationFileListResponse")] ImplementationFileListResponse = 28, + [pbr::OriginalName("StubImplementationCodeRequest")] StubImplementationCodeRequest = 29, + [pbr::OriginalName("FileDiff")] FileDiff = 30, + [pbr::OriginalName("ImplementationFileGlobPatternRequest")] ImplementationFileGlobPatternRequest = 31, + [pbr::OriginalName("ImplementationFileGlobPatternResponse")] ImplementationFileGlobPatternResponse = 32, + [pbr::OriginalName("SuiteExecutionResultItem")] SuiteExecutionResultItem = 33, + [pbr::OriginalName("KeepAlive")] KeepAlive = 34, + [pbr::OriginalName("ConceptExecutionStarting")] ConceptExecutionStarting = 35, + [pbr::OriginalName("ConceptExecutionEnding")] ConceptExecutionEnding = 36, + } + + } + #endregion + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/src/Gauge.CSharp.Core/Services.cs b/src/Gauge.CSharp.Core/Services.cs new file mode 100644 index 0000000..d20c33c --- /dev/null +++ b/src/Gauge.CSharp.Core/Services.cs @@ -0,0 +1,122 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: services.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 services.proto + public static partial class ServicesReflection { + + #region Descriptor + /// File descriptor for services.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static ServicesReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "Cg5zZXJ2aWNlcy5wcm90bxIOZ2F1Z2UubWVzc2FnZXMaDm1lc3NhZ2VzLnBy", + "b3RvMsMSCgZSdW5uZXISWQoMVmFsaWRhdGVTdGVwEiMuZ2F1Z2UubWVzc2Fn", + "ZXMuU3RlcFZhbGlkYXRlUmVxdWVzdBokLmdhdWdlLm1lc3NhZ2VzLlN0ZXBW", + "YWxpZGF0ZVJlc3BvbnNlEm4KGEluaXRpYWxpemVTdWl0ZURhdGFTdG9yZRIp", + "LmdhdWdlLm1lc3NhZ2VzLlN1aXRlRGF0YVN0b3JlSW5pdFJlcXVlc3QaJy5n", + "YXVnZS5tZXNzYWdlcy5FeGVjdXRpb25TdGF0dXNSZXNwb25zZRJjCg5TdGFy", + "dEV4ZWN1dGlvbhIoLmdhdWdlLm1lc3NhZ2VzLkV4ZWN1dGlvblN0YXJ0aW5n", + "UmVxdWVzdBonLmdhdWdlLm1lc3NhZ2VzLkV4ZWN1dGlvblN0YXR1c1Jlc3Bv", + "bnNlEmwKF0luaXRpYWxpemVTcGVjRGF0YVN0b3JlEiguZ2F1Z2UubWVzc2Fn", + "ZXMuU3BlY0RhdGFTdG9yZUluaXRSZXF1ZXN0GicuZ2F1Z2UubWVzc2FnZXMu", + "RXhlY3V0aW9uU3RhdHVzUmVzcG9uc2USawoSU3RhcnRTcGVjRXhlY3V0aW9u", + "EiwuZ2F1Z2UubWVzc2FnZXMuU3BlY0V4ZWN1dGlvblN0YXJ0aW5nUmVxdWVz", + "dBonLmdhdWdlLm1lc3NhZ2VzLkV4ZWN1dGlvblN0YXR1c1Jlc3BvbnNlEnQK", + "G0luaXRpYWxpemVTY2VuYXJpb0RhdGFTdG9yZRIsLmdhdWdlLm1lc3NhZ2Vz", + "LlNjZW5hcmlvRGF0YVN0b3JlSW5pdFJlcXVlc3QaJy5nYXVnZS5tZXNzYWdl", + "cy5FeGVjdXRpb25TdGF0dXNSZXNwb25zZRJzChZTdGFydFNjZW5hcmlvRXhl", + "Y3V0aW9uEjAuZ2F1Z2UubWVzc2FnZXMuU2NlbmFyaW9FeGVjdXRpb25TdGFy", + "dGluZ1JlcXVlc3QaJy5nYXVnZS5tZXNzYWdlcy5FeGVjdXRpb25TdGF0dXNS", + "ZXNwb25zZRJrChJTdGFydFN0ZXBFeGVjdXRpb24SLC5nYXVnZS5tZXNzYWdl", + "cy5TdGVwRXhlY3V0aW9uU3RhcnRpbmdSZXF1ZXN0GicuZ2F1Z2UubWVzc2Fn", + "ZXMuRXhlY3V0aW9uU3RhdHVzUmVzcG9uc2USWgoLRXhlY3V0ZVN0ZXASIi5n", + "YXVnZS5tZXNzYWdlcy5FeGVjdXRlU3RlcFJlcXVlc3QaJy5nYXVnZS5tZXNz", + "YWdlcy5FeGVjdXRpb25TdGF0dXNSZXNwb25zZRJqChNGaW5pc2hTdGVwRXhl", + "Y3V0aW9uEiouZ2F1Z2UubWVzc2FnZXMuU3RlcEV4ZWN1dGlvbkVuZGluZ1Jl", + "cXVlc3QaJy5nYXVnZS5tZXNzYWdlcy5FeGVjdXRpb25TdGF0dXNSZXNwb25z", + "ZRJyChdGaW5pc2hTY2VuYXJpb0V4ZWN1dGlvbhIuLmdhdWdlLm1lc3NhZ2Vz", + "LlNjZW5hcmlvRXhlY3V0aW9uRW5kaW5nUmVxdWVzdBonLmdhdWdlLm1lc3Nh", + "Z2VzLkV4ZWN1dGlvblN0YXR1c1Jlc3BvbnNlEmoKE0ZpbmlzaFNwZWNFeGVj", + "dXRpb24SKi5nYXVnZS5tZXNzYWdlcy5TcGVjRXhlY3V0aW9uRW5kaW5nUmVx", + "dWVzdBonLmdhdWdlLm1lc3NhZ2VzLkV4ZWN1dGlvblN0YXR1c1Jlc3BvbnNl", + "EmIKD0ZpbmlzaEV4ZWN1dGlvbhImLmdhdWdlLm1lc3NhZ2VzLkV4ZWN1dGlv", + "bkVuZGluZ1JlcXVlc3QaJy5nYXVnZS5tZXNzYWdlcy5FeGVjdXRpb25TdGF0", + "dXNSZXNwb25zZRJECglDYWNoZUZpbGUSIC5nYXVnZS5tZXNzYWdlcy5DYWNo", + "ZUZpbGVSZXF1ZXN0GhUuZ2F1Z2UubWVzc2FnZXMuRW1wdHkSUAoLR2V0U3Rl", + "cE5hbWUSHy5nYXVnZS5tZXNzYWdlcy5TdGVwTmFtZVJlcXVlc3QaIC5nYXVn", + "ZS5tZXNzYWdlcy5TdGVwTmFtZVJlc3BvbnNlEl8KD0dldEdsb2JQYXR0ZXJu", + "cxIVLmdhdWdlLm1lc3NhZ2VzLkVtcHR5GjUuZ2F1Z2UubWVzc2FnZXMuSW1w", + "bGVtZW50YXRpb25GaWxlR2xvYlBhdHRlcm5SZXNwb25zZRJTCgxHZXRTdGVw", + "TmFtZXMSIC5nYXVnZS5tZXNzYWdlcy5TdGVwTmFtZXNSZXF1ZXN0GiEuZ2F1", + "Z2UubWVzc2FnZXMuU3RlcE5hbWVzUmVzcG9uc2USXwoQR2V0U3RlcFBvc2l0", + "aW9ucxIkLmdhdWdlLm1lc3NhZ2VzLlN0ZXBQb3NpdGlvbnNSZXF1ZXN0GiUu", + "Z2F1Z2UubWVzc2FnZXMuU3RlcFBvc2l0aW9uc1Jlc3BvbnNlEl8KFkdldElt", + "cGxlbWVudGF0aW9uRmlsZXMSFS5nYXVnZS5tZXNzYWdlcy5FbXB0eRouLmdh", + "dWdlLm1lc3NhZ2VzLkltcGxlbWVudGF0aW9uRmlsZUxpc3RSZXNwb25zZRJY", + "Cg1JbXBsZW1lbnRTdHViEi0uZ2F1Z2UubWVzc2FnZXMuU3R1YkltcGxlbWVu", + "dGF0aW9uQ29kZVJlcXVlc3QaGC5nYXVnZS5tZXNzYWdlcy5GaWxlRGlmZhJN", + "CghSZWZhY3RvchIfLmdhdWdlLm1lc3NhZ2VzLlJlZmFjdG9yUmVxdWVzdBog", + "LmdhdWdlLm1lc3NhZ2VzLlJlZmFjdG9yUmVzcG9uc2USQQoES2lsbBIiLmdh", + "dWdlLm1lc3NhZ2VzLktpbGxQcm9jZXNzUmVxdWVzdBoVLmdhdWdlLm1lc3Nh", + "Z2VzLkVtcHR5EmgKHk5vdGlmeUNvbmNlcHRFeGVjdXRpb25TdGFydGluZxIv", + "LmdhdWdlLm1lc3NhZ2VzLkNvbmNlcHRFeGVjdXRpb25TdGFydGluZ1JlcXVl", + "c3QaFS5nYXVnZS5tZXNzYWdlcy5FbXB0eRJkChxOb3RpZnlDb25jZXB0RXhl", + "Y3V0aW9uRW5kaW5nEi0uZ2F1Z2UubWVzc2FnZXMuQ29uY2VwdEV4ZWN1dGlv", + "bkVuZGluZ1JlcXVlc3QaFS5nYXVnZS5tZXNzYWdlcy5FbXB0eTL/CAoIUmVw", + "b3J0ZXISWgoXTm90aWZ5RXhlY3V0aW9uU3RhcnRpbmcSKC5nYXVnZS5tZXNz", + "YWdlcy5FeGVjdXRpb25TdGFydGluZ1JlcXVlc3QaFS5nYXVnZS5tZXNzYWdl", + "cy5FbXB0eRJiChtOb3RpZnlTcGVjRXhlY3V0aW9uU3RhcnRpbmcSLC5nYXVn", + "ZS5tZXNzYWdlcy5TcGVjRXhlY3V0aW9uU3RhcnRpbmdSZXF1ZXN0GhUuZ2F1", + "Z2UubWVzc2FnZXMuRW1wdHkSagofTm90aWZ5U2NlbmFyaW9FeGVjdXRpb25T", + "dGFydGluZxIwLmdhdWdlLm1lc3NhZ2VzLlNjZW5hcmlvRXhlY3V0aW9uU3Rh", + "cnRpbmdSZXF1ZXN0GhUuZ2F1Z2UubWVzc2FnZXMuRW1wdHkSaAoeTm90aWZ5", + "Q29uY2VwdEV4ZWN1dGlvblN0YXJ0aW5nEi8uZ2F1Z2UubWVzc2FnZXMuQ29u", + "Y2VwdEV4ZWN1dGlvblN0YXJ0aW5nUmVxdWVzdBoVLmdhdWdlLm1lc3NhZ2Vz", + "LkVtcHR5EmQKHE5vdGlmeUNvbmNlcHRFeGVjdXRpb25FbmRpbmcSLS5nYXVn", + "ZS5tZXNzYWdlcy5Db25jZXB0RXhlY3V0aW9uRW5kaW5nUmVxdWVzdBoVLmdh", + "dWdlLm1lc3NhZ2VzLkVtcHR5EmIKG05vdGlmeVN0ZXBFeGVjdXRpb25TdGFy", + "dGluZxIsLmdhdWdlLm1lc3NhZ2VzLlN0ZXBFeGVjdXRpb25TdGFydGluZ1Jl", + "cXVlc3QaFS5nYXVnZS5tZXNzYWdlcy5FbXB0eRJeChlOb3RpZnlTdGVwRXhl", + "Y3V0aW9uRW5kaW5nEiouZ2F1Z2UubWVzc2FnZXMuU3RlcEV4ZWN1dGlvbkVu", + "ZGluZ1JlcXVlc3QaFS5nYXVnZS5tZXNzYWdlcy5FbXB0eRJmCh1Ob3RpZnlT", + "Y2VuYXJpb0V4ZWN1dGlvbkVuZGluZxIuLmdhdWdlLm1lc3NhZ2VzLlNjZW5h", + "cmlvRXhlY3V0aW9uRW5kaW5nUmVxdWVzdBoVLmdhdWdlLm1lc3NhZ2VzLkVt", + "cHR5El4KGU5vdGlmeVNwZWNFeGVjdXRpb25FbmRpbmcSKi5nYXVnZS5tZXNz", + "YWdlcy5TcGVjRXhlY3V0aW9uRW5kaW5nUmVxdWVzdBoVLmdhdWdlLm1lc3Nh", + "Z2VzLkVtcHR5ElYKFU5vdGlmeUV4ZWN1dGlvbkVuZGluZxImLmdhdWdlLm1l", + "c3NhZ2VzLkV4ZWN1dGlvbkVuZGluZ1JlcXVlc3QaFS5nYXVnZS5tZXNzYWdl", + "cy5FbXB0eRJQChFOb3RpZnlTdWl0ZVJlc3VsdBIkLmdhdWdlLm1lc3NhZ2Vz", + "LlN1aXRlRXhlY3V0aW9uUmVzdWx0GhUuZ2F1Z2UubWVzc2FnZXMuRW1wdHkS", + "QQoES2lsbBIiLmdhdWdlLm1lc3NhZ2VzLktpbGxQcm9jZXNzUmVxdWVzdBoV", + "LmdhdWdlLm1lc3NhZ2VzLkVtcHR5MpMBCgpEb2N1bWVudGVyEkIKDEdlbmVy", + "YXRlRG9jcxIbLmdhdWdlLm1lc3NhZ2VzLlNwZWNEZXRhaWxzGhUuZ2F1Z2Uu", + "bWVzc2FnZXMuRW1wdHkSQQoES2lsbBIiLmdhdWdlLm1lc3NhZ2VzLktpbGxQ", + "cm9jZXNzUmVxdWVzdBoVLmdhdWdlLm1lc3NhZ2VzLkVtcHR5QlwKFmNvbS50", + "aG91Z2h0d29ya3MuZ2F1Z2VaMWdpdGh1Yi5jb20vZ2V0Z2F1Z2UvZ2F1Z2Ut", + "cHJvdG8vZ28vZ2F1Z2VfbWVzc2FnZXOqAg5HYXVnZS5NZXNzYWdlc2IGcHJv", + "dG8z")); + 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/ServicesGrpc.cs b/src/Gauge.CSharp.Core/ServicesGrpc.cs new file mode 100644 index 0000000..e8d194b --- /dev/null +++ b/src/Gauge.CSharp.Core/ServicesGrpc.cs @@ -0,0 +1,3470 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: services.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 Runner + { + static readonly string __ServiceName = "gauge.messages.Runner"; + + [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_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_SuiteDataStoreInitRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.SuiteDataStoreInitRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ExecutionStatusResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ExecutionStatusResponse.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ExecutionStartingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ExecutionStartingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_SpecDataStoreInitRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.SpecDataStoreInitRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_SpecExecutionStartingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.SpecExecutionStartingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ScenarioDataStoreInitRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ScenarioDataStoreInitRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ScenarioExecutionStartingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ScenarioExecutionStartingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_StepExecutionStartingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepExecutionStartingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ExecuteStepRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ExecuteStepRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_StepExecutionEndingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepExecutionEndingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ScenarioExecutionEndingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ScenarioExecutionEndingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_SpecExecutionEndingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.SpecExecutionEndingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ExecutionEndingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ExecutionEndingRequest.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_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_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_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_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_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::Marshaller __Marshaller_gauge_messages_ConceptExecutionStartingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ConceptExecutionStartingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ConceptExecutionEndingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ConceptExecutionEndingRequest.Parser)); + + [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_InitializeSuiteDataStore = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "InitializeSuiteDataStore", + __Marshaller_gauge_messages_SuiteDataStoreInitRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_StartExecution = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "StartExecution", + __Marshaller_gauge_messages_ExecutionStartingRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_InitializeSpecDataStore = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "InitializeSpecDataStore", + __Marshaller_gauge_messages_SpecDataStoreInitRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_StartSpecExecution = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "StartSpecExecution", + __Marshaller_gauge_messages_SpecExecutionStartingRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_InitializeScenarioDataStore = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "InitializeScenarioDataStore", + __Marshaller_gauge_messages_ScenarioDataStoreInitRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_StartScenarioExecution = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "StartScenarioExecution", + __Marshaller_gauge_messages_ScenarioExecutionStartingRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_StartStepExecution = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "StartStepExecution", + __Marshaller_gauge_messages_StepExecutionStartingRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_ExecuteStep = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "ExecuteStep", + __Marshaller_gauge_messages_ExecuteStepRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_FinishStepExecution = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "FinishStepExecution", + __Marshaller_gauge_messages_StepExecutionEndingRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_FinishScenarioExecution = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "FinishScenarioExecution", + __Marshaller_gauge_messages_ScenarioExecutionEndingRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_FinishSpecExecution = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "FinishSpecExecution", + __Marshaller_gauge_messages_SpecExecutionEndingRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_FinishExecution = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "FinishExecution", + __Marshaller_gauge_messages_ExecutionEndingRequest, + __Marshaller_gauge_messages_ExecutionStatusResponse); + + [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_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_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_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_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_Kill = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "Kill", + __Marshaller_gauge_messages_KillProcessRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifyConceptExecutionStarting = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifyConceptExecutionStarting", + __Marshaller_gauge_messages_ConceptExecutionStartingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifyConceptExecutionEnding = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifyConceptExecutionEnding", + __Marshaller_gauge_messages_ConceptExecutionEndingRequest, + __Marshaller_gauge_messages_Empty); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Gauge.Messages.ServicesReflection.Descriptor.Services[0]; } + } + + /// Base class for server-side implementations of Runner + [grpc::BindServiceMethod(typeof(Runner), "BindService")] + public abstract partial class RunnerBase + { + /// + /// ValidateStep is a RPC to validate a given step. + /// + /// Accepts a StepValidateRequest message and returns a StepValidateResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [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, "")); + } + + /// + /// SuiteDataStoreInit is a RPC to initialize the suite level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task InitializeSuiteDataStore(global::Gauge.Messages.SuiteDataStoreInitRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// ExecutionStarting is a RPC to tell runner to execute Suite level hooks. + /// + /// Accepts a ExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task StartExecution(global::Gauge.Messages.ExecutionStartingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// SpecDataStoreInit is a RPC to initialize the spec level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task InitializeSpecDataStore(global::Gauge.Messages.SpecDataStoreInitRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// SpecExecutionStarting is a RPC to tell runner to execute spec level hooks. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task StartSpecExecution(global::Gauge.Messages.SpecExecutionStartingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// ScenarioDataStoreInit is a RPC to initialize the scenario level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task InitializeScenarioDataStore(global::Gauge.Messages.ScenarioDataStoreInitRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks. + /// + /// Accepts a ScenarioExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task StartScenarioExecution(global::Gauge.Messages.ScenarioExecutionStartingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// StepExecutionStarting is a RPC to tell runner to execute step level hooks. + /// + /// Accepts a StepExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task StartStepExecution(global::Gauge.Messages.StepExecutionStartingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// ExecuteStep is a RPC to tell runner to execute a step . + /// + /// Accepts a ExecuteStepRequest message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task ExecuteStep(global::Gauge.Messages.ExecuteStepRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// StepExecutionEnding is a RPC to tell runner to execute step level hooks. + /// + /// Accepts a StepExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task FinishStepExecution(global::Gauge.Messages.StepExecutionEndingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks. + /// + /// Accepts a ScenarioExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task FinishScenarioExecution(global::Gauge.Messages.ScenarioExecutionEndingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// SpecExecutionEnding is a RPC to tell runner to execute spec level hooks. + /// + /// Accepts a SpecExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task FinishSpecExecution(global::Gauge.Messages.SpecExecutionEndingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// ExecutionEnding is a RPC to tell runner to execute suite level hooks. + /// + /// Accepts a ExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task FinishExecution(global::Gauge.Messages.ExecutionEndingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// CacheFile is a RPC to tell runner to load/reload/unload a implementation file. + /// + /// Accepts a CacheFileRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [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, "")); + } + + /// + /// GetStepName is a RPC to get information about the given step. + /// + /// Accepts a StepNameRequest message and returns a StepNameResponse message. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [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, "")); + } + + /// + /// GetGlobPatterns is a RPC to get the file path pattern which needs to be cached. + /// + /// Accepts a Empty message and returns a ImplementationFileGlobPatternResponse message. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [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, "")); + } + + /// + /// GetStepNames is a RPC to get all the available steps from the runner. + /// + /// Accepts a StepNamesRequest message and returns a StepNamesResponse + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [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, "")); + } + + /// + /// GetStepPositions is a RPC to get positions of all available steps in a given file. + /// + /// Accepts a StepPositionsRequest message and returns a StepPositionsResponse message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [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, "")); + } + + /// + /// GetImplementationFiles is a RPC get all the existing implementation files. + /// + /// Accepts a Empty and returns a ImplementationFileListResponse message. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [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, "")); + } + + /// + /// ImplementStub is a RPC to to ask runner to add a given implementation to given file. + /// + /// Accepts a StubImplementationCodeRequest and returns a FileDiff message. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [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, "")); + } + + /// + /// Refactor is a RPC to refactor a given step in implementation file. + /// + /// Accepts a RefactorRequest message and returns a RefactorResponse message. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [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, "")); + } + + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task Kill(global::Gauge.Messages.KillProcessRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + /// + /// Accepts a ConceptExecutionStartingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifyConceptExecutionStarting(global::Gauge.Messages.ConceptExecutionStartingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + /// + /// Accepts a ConceptExecutionEndingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifyConceptExecutionEnding(global::Gauge.Messages.ConceptExecutionEndingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for Runner + public partial class RunnerClient : grpc::ClientBase + { + /// Creates a new client for Runner + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public RunnerClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for Runner that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public RunnerClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected RunnerClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected RunnerClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// ValidateStep is a RPC to validate a given step. + /// + /// Accepts a StepValidateRequest message and returns a StepValidateResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [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)); + } + /// + /// ValidateStep is a RPC to validate a given step. + /// + /// Accepts a StepValidateRequest message and returns a StepValidateResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [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); + } + /// + /// ValidateStep is a RPC to validate a given step. + /// + /// Accepts a StepValidateRequest message and returns a StepValidateResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [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)); + } + /// + /// ValidateStep is a RPC to validate a given step. + /// + /// Accepts a StepValidateRequest message and returns a StepValidateResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [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); + } + /// + /// SuiteDataStoreInit is a RPC to initialize the suite level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse InitializeSuiteDataStore(global::Gauge.Messages.SuiteDataStoreInitRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return InitializeSuiteDataStore(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// SuiteDataStoreInit is a RPC to initialize the suite level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse InitializeSuiteDataStore(global::Gauge.Messages.SuiteDataStoreInitRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_InitializeSuiteDataStore, null, options, request); + } + /// + /// SuiteDataStoreInit is a RPC to initialize the suite level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall InitializeSuiteDataStoreAsync(global::Gauge.Messages.SuiteDataStoreInitRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return InitializeSuiteDataStoreAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// SuiteDataStoreInit is a RPC to initialize the suite level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall InitializeSuiteDataStoreAsync(global::Gauge.Messages.SuiteDataStoreInitRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_InitializeSuiteDataStore, null, options, request); + } + /// + /// ExecutionStarting is a RPC to tell runner to execute Suite level hooks. + /// + /// Accepts a ExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse StartExecution(global::Gauge.Messages.ExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StartExecution(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ExecutionStarting is a RPC to tell runner to execute Suite level hooks. + /// + /// Accepts a ExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse StartExecution(global::Gauge.Messages.ExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_StartExecution, null, options, request); + } + /// + /// ExecutionStarting is a RPC to tell runner to execute Suite level hooks. + /// + /// Accepts a ExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall StartExecutionAsync(global::Gauge.Messages.ExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StartExecutionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ExecutionStarting is a RPC to tell runner to execute Suite level hooks. + /// + /// Accepts a ExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall StartExecutionAsync(global::Gauge.Messages.ExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_StartExecution, null, options, request); + } + /// + /// SpecDataStoreInit is a RPC to initialize the spec level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse InitializeSpecDataStore(global::Gauge.Messages.SpecDataStoreInitRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return InitializeSpecDataStore(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// SpecDataStoreInit is a RPC to initialize the spec level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse InitializeSpecDataStore(global::Gauge.Messages.SpecDataStoreInitRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_InitializeSpecDataStore, null, options, request); + } + /// + /// SpecDataStoreInit is a RPC to initialize the spec level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall InitializeSpecDataStoreAsync(global::Gauge.Messages.SpecDataStoreInitRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return InitializeSpecDataStoreAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// SpecDataStoreInit is a RPC to initialize the spec level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall InitializeSpecDataStoreAsync(global::Gauge.Messages.SpecDataStoreInitRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_InitializeSpecDataStore, null, options, request); + } + /// + /// SpecExecutionStarting is a RPC to tell runner to execute spec level hooks. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse StartSpecExecution(global::Gauge.Messages.SpecExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StartSpecExecution(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// SpecExecutionStarting is a RPC to tell runner to execute spec level hooks. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse StartSpecExecution(global::Gauge.Messages.SpecExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_StartSpecExecution, null, options, request); + } + /// + /// SpecExecutionStarting is a RPC to tell runner to execute spec level hooks. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall StartSpecExecutionAsync(global::Gauge.Messages.SpecExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StartSpecExecutionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// SpecExecutionStarting is a RPC to tell runner to execute spec level hooks. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall StartSpecExecutionAsync(global::Gauge.Messages.SpecExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_StartSpecExecution, null, options, request); + } + /// + /// ScenarioDataStoreInit is a RPC to initialize the scenario level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse InitializeScenarioDataStore(global::Gauge.Messages.ScenarioDataStoreInitRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return InitializeScenarioDataStore(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ScenarioDataStoreInit is a RPC to initialize the scenario level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse InitializeScenarioDataStore(global::Gauge.Messages.ScenarioDataStoreInitRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_InitializeScenarioDataStore, null, options, request); + } + /// + /// ScenarioDataStoreInit is a RPC to initialize the scenario level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall InitializeScenarioDataStoreAsync(global::Gauge.Messages.ScenarioDataStoreInitRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return InitializeScenarioDataStoreAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ScenarioDataStoreInit is a RPC to initialize the scenario level data store. + /// + /// Accepts a Empty message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall InitializeScenarioDataStoreAsync(global::Gauge.Messages.ScenarioDataStoreInitRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_InitializeScenarioDataStore, null, options, request); + } + /// + /// ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks. + /// + /// Accepts a ScenarioExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse StartScenarioExecution(global::Gauge.Messages.ScenarioExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StartScenarioExecution(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks. + /// + /// Accepts a ScenarioExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse StartScenarioExecution(global::Gauge.Messages.ScenarioExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_StartScenarioExecution, null, options, request); + } + /// + /// ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks. + /// + /// Accepts a ScenarioExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall StartScenarioExecutionAsync(global::Gauge.Messages.ScenarioExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StartScenarioExecutionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ScenarioExecutionStarting is a RPC to tell runner to execute scenario level hooks. + /// + /// Accepts a ScenarioExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall StartScenarioExecutionAsync(global::Gauge.Messages.ScenarioExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_StartScenarioExecution, null, options, request); + } + /// + /// StepExecutionStarting is a RPC to tell runner to execute step level hooks. + /// + /// Accepts a StepExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse StartStepExecution(global::Gauge.Messages.StepExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StartStepExecution(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// StepExecutionStarting is a RPC to tell runner to execute step level hooks. + /// + /// Accepts a StepExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse StartStepExecution(global::Gauge.Messages.StepExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_StartStepExecution, null, options, request); + } + /// + /// StepExecutionStarting is a RPC to tell runner to execute step level hooks. + /// + /// Accepts a StepExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall StartStepExecutionAsync(global::Gauge.Messages.StepExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StartStepExecutionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// StepExecutionStarting is a RPC to tell runner to execute step level hooks. + /// + /// Accepts a StepExecutionStartingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall StartStepExecutionAsync(global::Gauge.Messages.StepExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_StartStepExecution, null, options, request); + } + /// + /// ExecuteStep is a RPC to tell runner to execute a step . + /// + /// Accepts a ExecuteStepRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse ExecuteStep(global::Gauge.Messages.ExecuteStepRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ExecuteStep(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ExecuteStep is a RPC to tell runner to execute a step . + /// + /// Accepts a ExecuteStepRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse ExecuteStep(global::Gauge.Messages.ExecuteStepRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_ExecuteStep, null, options, request); + } + /// + /// ExecuteStep is a RPC to tell runner to execute a step . + /// + /// Accepts a ExecuteStepRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ExecuteStepAsync(global::Gauge.Messages.ExecuteStepRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return ExecuteStepAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ExecuteStep is a RPC to tell runner to execute a step . + /// + /// Accepts a ExecuteStepRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall ExecuteStepAsync(global::Gauge.Messages.ExecuteStepRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_ExecuteStep, null, options, request); + } + /// + /// StepExecutionEnding is a RPC to tell runner to execute step level hooks. + /// + /// Accepts a StepExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse FinishStepExecution(global::Gauge.Messages.StepExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return FinishStepExecution(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// StepExecutionEnding is a RPC to tell runner to execute step level hooks. + /// + /// Accepts a StepExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse FinishStepExecution(global::Gauge.Messages.StepExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_FinishStepExecution, null, options, request); + } + /// + /// StepExecutionEnding is a RPC to tell runner to execute step level hooks. + /// + /// Accepts a StepExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall FinishStepExecutionAsync(global::Gauge.Messages.StepExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return FinishStepExecutionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// StepExecutionEnding is a RPC to tell runner to execute step level hooks. + /// + /// Accepts a StepExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall FinishStepExecutionAsync(global::Gauge.Messages.StepExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_FinishStepExecution, null, options, request); + } + /// + /// ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks. + /// + /// Accepts a ScenarioExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse FinishScenarioExecution(global::Gauge.Messages.ScenarioExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return FinishScenarioExecution(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks. + /// + /// Accepts a ScenarioExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse FinishScenarioExecution(global::Gauge.Messages.ScenarioExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_FinishScenarioExecution, null, options, request); + } + /// + /// ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks. + /// + /// Accepts a ScenarioExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall FinishScenarioExecutionAsync(global::Gauge.Messages.ScenarioExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return FinishScenarioExecutionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ScenarioExecutionEnding is a RPC to tell runner to execute Scenario level hooks. + /// + /// Accepts a ScenarioExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall FinishScenarioExecutionAsync(global::Gauge.Messages.ScenarioExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_FinishScenarioExecution, null, options, request); + } + /// + /// SpecExecutionEnding is a RPC to tell runner to execute spec level hooks. + /// + /// Accepts a SpecExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse FinishSpecExecution(global::Gauge.Messages.SpecExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return FinishSpecExecution(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// SpecExecutionEnding is a RPC to tell runner to execute spec level hooks. + /// + /// Accepts a SpecExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse FinishSpecExecution(global::Gauge.Messages.SpecExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_FinishSpecExecution, null, options, request); + } + /// + /// SpecExecutionEnding is a RPC to tell runner to execute spec level hooks. + /// + /// Accepts a SpecExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall FinishSpecExecutionAsync(global::Gauge.Messages.SpecExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return FinishSpecExecutionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// SpecExecutionEnding is a RPC to tell runner to execute spec level hooks. + /// + /// Accepts a SpecExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall FinishSpecExecutionAsync(global::Gauge.Messages.SpecExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_FinishSpecExecution, null, options, request); + } + /// + /// ExecutionEnding is a RPC to tell runner to execute suite level hooks. + /// + /// Accepts a ExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse FinishExecution(global::Gauge.Messages.ExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return FinishExecution(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ExecutionEnding is a RPC to tell runner to execute suite level hooks. + /// + /// Accepts a ExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.ExecutionStatusResponse FinishExecution(global::Gauge.Messages.ExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_FinishExecution, null, options, request); + } + /// + /// ExecutionEnding is a RPC to tell runner to execute suite level hooks. + /// + /// Accepts a ExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall FinishExecutionAsync(global::Gauge.Messages.ExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return FinishExecutionAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// ExecutionEnding is a RPC to tell runner to execute suite level hooks. + /// + /// Accepts a ExecutionEndingRequest message and returns a ExecutionStatusResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall FinishExecutionAsync(global::Gauge.Messages.ExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_FinishExecution, null, options, request); + } + /// + /// CacheFile is a RPC to tell runner to load/reload/unload a implementation file. + /// + /// Accepts a CacheFileRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [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)); + } + /// + /// CacheFile is a RPC to tell runner to load/reload/unload a implementation file. + /// + /// Accepts a CacheFileRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [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); + } + /// + /// CacheFile is a RPC to tell runner to load/reload/unload a implementation file. + /// + /// Accepts a CacheFileRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [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)); + } + /// + /// CacheFile is a RPC to tell runner to load/reload/unload a implementation file. + /// + /// Accepts a CacheFileRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [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); + } + /// + /// GetStepName is a RPC to get information about the given step. + /// + /// Accepts a StepNameRequest message and returns a StepNameResponse message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [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)); + } + /// + /// GetStepName is a RPC to get information about the given step. + /// + /// Accepts a StepNameRequest message and returns a StepNameResponse message. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [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); + } + /// + /// GetStepName is a RPC to get information about the given step. + /// + /// Accepts a StepNameRequest message and returns a StepNameResponse message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [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)); + } + /// + /// GetStepName is a RPC to get information about the given step. + /// + /// Accepts a StepNameRequest message and returns a StepNameResponse message. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [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); + } + /// + /// GetGlobPatterns is a RPC to get the file path pattern which needs to be cached. + /// + /// Accepts a Empty message and returns a ImplementationFileGlobPatternResponse message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [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)); + } + /// + /// GetGlobPatterns is a RPC to get the file path pattern which needs to be cached. + /// + /// Accepts a Empty message and returns a ImplementationFileGlobPatternResponse message. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [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); + } + /// + /// GetGlobPatterns is a RPC to get the file path pattern which needs to be cached. + /// + /// Accepts a Empty message and returns a ImplementationFileGlobPatternResponse message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [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)); + } + /// + /// GetGlobPatterns is a RPC to get the file path pattern which needs to be cached. + /// + /// Accepts a Empty message and returns a ImplementationFileGlobPatternResponse message. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [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); + } + /// + /// GetStepNames is a RPC to get all the available steps from the runner. + /// + /// Accepts a StepNamesRequest message and returns a StepNamesResponse + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [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)); + } + /// + /// GetStepNames is a RPC to get all the available steps from the runner. + /// + /// Accepts a StepNamesRequest message and returns a StepNamesResponse + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [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); + } + /// + /// GetStepNames is a RPC to get all the available steps from the runner. + /// + /// Accepts a StepNamesRequest message and returns a StepNamesResponse + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [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)); + } + /// + /// GetStepNames is a RPC to get all the available steps from the runner. + /// + /// Accepts a StepNamesRequest message and returns a StepNamesResponse + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [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); + } + /// + /// GetStepPositions is a RPC to get positions of all available steps in a given file. + /// + /// Accepts a StepPositionsRequest message and returns a StepPositionsResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [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)); + } + /// + /// GetStepPositions is a RPC to get positions of all available steps in a given file. + /// + /// Accepts a StepPositionsRequest message and returns a StepPositionsResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [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); + } + /// + /// GetStepPositions is a RPC to get positions of all available steps in a given file. + /// + /// Accepts a StepPositionsRequest message and returns a StepPositionsResponse message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [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)); + } + /// + /// GetStepPositions is a RPC to get positions of all available steps in a given file. + /// + /// Accepts a StepPositionsRequest message and returns a StepPositionsResponse message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [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); + } + /// + /// GetImplementationFiles is a RPC get all the existing implementation files. + /// + /// Accepts a Empty and returns a ImplementationFileListResponse message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [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)); + } + /// + /// GetImplementationFiles is a RPC get all the existing implementation files. + /// + /// Accepts a Empty and returns a ImplementationFileListResponse message. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [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); + } + /// + /// GetImplementationFiles is a RPC get all the existing implementation files. + /// + /// Accepts a Empty and returns a ImplementationFileListResponse message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [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)); + } + /// + /// GetImplementationFiles is a RPC get all the existing implementation files. + /// + /// Accepts a Empty and returns a ImplementationFileListResponse message. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [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); + } + /// + /// ImplementStub is a RPC to to ask runner to add a given implementation to given file. + /// + /// Accepts a StubImplementationCodeRequest and returns a FileDiff message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [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)); + } + /// + /// ImplementStub is a RPC to to ask runner to add a given implementation to given file. + /// + /// Accepts a StubImplementationCodeRequest and returns a FileDiff message. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [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); + } + /// + /// ImplementStub is a RPC to to ask runner to add a given implementation to given file. + /// + /// Accepts a StubImplementationCodeRequest and returns a FileDiff message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [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)); + } + /// + /// ImplementStub is a RPC to to ask runner to add a given implementation to given file. + /// + /// Accepts a StubImplementationCodeRequest and returns a FileDiff message. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [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); + } + /// + /// Refactor is a RPC to refactor a given step in implementation file. + /// + /// Accepts a RefactorRequest message and returns a RefactorResponse message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [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)); + } + /// + /// Refactor is a RPC to refactor a given step in implementation file. + /// + /// Accepts a RefactorRequest message and returns a RefactorResponse message. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [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); + } + /// + /// Refactor is a RPC to refactor a given step in implementation file. + /// + /// Accepts a RefactorRequest message and returns a RefactorResponse message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [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)); + } + /// + /// Refactor is a RPC to refactor a given step in implementation file. + /// + /// Accepts a RefactorRequest message and returns a RefactorResponse message. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [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); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty Kill(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 Kill(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty Kill(global::Gauge.Messages.KillProcessRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_Kill, null, options, request); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall KillAsync(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 KillAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall KillAsync(global::Gauge.Messages.KillProcessRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_Kill, null, options, request); + } + /// + /// NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + /// + /// Accepts a ConceptExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyConceptExecutionStarting(global::Gauge.Messages.ConceptExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyConceptExecutionStarting(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + /// + /// Accepts a ConceptExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyConceptExecutionStarting(global::Gauge.Messages.ConceptExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifyConceptExecutionStarting, null, options, request); + } + /// + /// NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + /// + /// Accepts a ConceptExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyConceptExecutionStartingAsync(global::Gauge.Messages.ConceptExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyConceptExecutionStartingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + /// + /// Accepts a ConceptExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyConceptExecutionStartingAsync(global::Gauge.Messages.ConceptExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifyConceptExecutionStarting, null, options, request); + } + /// + /// NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + /// + /// Accepts a ConceptExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyConceptExecutionEnding(global::Gauge.Messages.ConceptExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyConceptExecutionEnding(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + /// + /// Accepts a ConceptExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyConceptExecutionEnding(global::Gauge.Messages.ConceptExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifyConceptExecutionEnding, null, options, request); + } + /// + /// NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + /// + /// Accepts a ConceptExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyConceptExecutionEndingAsync(global::Gauge.Messages.ConceptExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyConceptExecutionEndingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + /// + /// Accepts a ConceptExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyConceptExecutionEndingAsync(global::Gauge.Messages.ConceptExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifyConceptExecutionEnding, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override RunnerClient NewInstance(ClientBaseConfiguration configuration) + { + return new RunnerClient(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(RunnerBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_ValidateStep, serviceImpl.ValidateStep) + .AddMethod(__Method_InitializeSuiteDataStore, serviceImpl.InitializeSuiteDataStore) + .AddMethod(__Method_StartExecution, serviceImpl.StartExecution) + .AddMethod(__Method_InitializeSpecDataStore, serviceImpl.InitializeSpecDataStore) + .AddMethod(__Method_StartSpecExecution, serviceImpl.StartSpecExecution) + .AddMethod(__Method_InitializeScenarioDataStore, serviceImpl.InitializeScenarioDataStore) + .AddMethod(__Method_StartScenarioExecution, serviceImpl.StartScenarioExecution) + .AddMethod(__Method_StartStepExecution, serviceImpl.StartStepExecution) + .AddMethod(__Method_ExecuteStep, serviceImpl.ExecuteStep) + .AddMethod(__Method_FinishStepExecution, serviceImpl.FinishStepExecution) + .AddMethod(__Method_FinishScenarioExecution, serviceImpl.FinishScenarioExecution) + .AddMethod(__Method_FinishSpecExecution, serviceImpl.FinishSpecExecution) + .AddMethod(__Method_FinishExecution, serviceImpl.FinishExecution) + .AddMethod(__Method_CacheFile, serviceImpl.CacheFile) + .AddMethod(__Method_GetStepName, serviceImpl.GetStepName) + .AddMethod(__Method_GetGlobPatterns, serviceImpl.GetGlobPatterns) + .AddMethod(__Method_GetStepNames, serviceImpl.GetStepNames) + .AddMethod(__Method_GetStepPositions, serviceImpl.GetStepPositions) + .AddMethod(__Method_GetImplementationFiles, serviceImpl.GetImplementationFiles) + .AddMethod(__Method_ImplementStub, serviceImpl.ImplementStub) + .AddMethod(__Method_Refactor, serviceImpl.Refactor) + .AddMethod(__Method_Kill, serviceImpl.Kill) + .AddMethod(__Method_NotifyConceptExecutionStarting, serviceImpl.NotifyConceptExecutionStarting) + .AddMethod(__Method_NotifyConceptExecutionEnding, serviceImpl.NotifyConceptExecutionEnding).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, RunnerBase serviceImpl) + { + serviceBinder.AddMethod(__Method_ValidateStep, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ValidateStep)); + serviceBinder.AddMethod(__Method_InitializeSuiteDataStore, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.InitializeSuiteDataStore)); + serviceBinder.AddMethod(__Method_StartExecution, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.StartExecution)); + serviceBinder.AddMethod(__Method_InitializeSpecDataStore, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.InitializeSpecDataStore)); + serviceBinder.AddMethod(__Method_StartSpecExecution, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.StartSpecExecution)); + serviceBinder.AddMethod(__Method_InitializeScenarioDataStore, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.InitializeScenarioDataStore)); + serviceBinder.AddMethod(__Method_StartScenarioExecution, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.StartScenarioExecution)); + serviceBinder.AddMethod(__Method_StartStepExecution, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.StartStepExecution)); + serviceBinder.AddMethod(__Method_ExecuteStep, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.ExecuteStep)); + serviceBinder.AddMethod(__Method_FinishStepExecution, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.FinishStepExecution)); + serviceBinder.AddMethod(__Method_FinishScenarioExecution, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.FinishScenarioExecution)); + serviceBinder.AddMethod(__Method_FinishSpecExecution, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.FinishSpecExecution)); + serviceBinder.AddMethod(__Method_FinishExecution, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.FinishExecution)); + serviceBinder.AddMethod(__Method_CacheFile, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CacheFile)); + 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_GetStepNames, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GetStepNames)); + 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_Refactor, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.Refactor)); + serviceBinder.AddMethod(__Method_Kill, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.Kill)); + serviceBinder.AddMethod(__Method_NotifyConceptExecutionStarting, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifyConceptExecutionStarting)); + serviceBinder.AddMethod(__Method_NotifyConceptExecutionEnding, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifyConceptExecutionEnding)); + } + + } + /// + /// Reporter services is meant for reporting plugins, or others plugins which are interested the live events + /// + public static partial class Reporter + { + static readonly string __ServiceName = "gauge.messages.Reporter"; + + [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_ExecutionStartingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ExecutionStartingRequest.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_SpecExecutionStartingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.SpecExecutionStartingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ScenarioExecutionStartingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ScenarioExecutionStartingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ConceptExecutionStartingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ConceptExecutionStartingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ConceptExecutionEndingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ConceptExecutionEndingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_StepExecutionStartingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepExecutionStartingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_StepExecutionEndingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.StepExecutionEndingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ScenarioExecutionEndingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ScenarioExecutionEndingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_SpecExecutionEndingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.SpecExecutionEndingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_ExecutionEndingRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.ExecutionEndingRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gauge_messages_SuiteExecutionResult = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.SuiteExecutionResult.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_NotifyExecutionStarting = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifyExecutionStarting", + __Marshaller_gauge_messages_ExecutionStartingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifySpecExecutionStarting = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifySpecExecutionStarting", + __Marshaller_gauge_messages_SpecExecutionStartingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifyScenarioExecutionStarting = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifyScenarioExecutionStarting", + __Marshaller_gauge_messages_ScenarioExecutionStartingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifyConceptExecutionStarting = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifyConceptExecutionStarting", + __Marshaller_gauge_messages_ConceptExecutionStartingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifyConceptExecutionEnding = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifyConceptExecutionEnding", + __Marshaller_gauge_messages_ConceptExecutionEndingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifyStepExecutionStarting = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifyStepExecutionStarting", + __Marshaller_gauge_messages_StepExecutionStartingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifyStepExecutionEnding = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifyStepExecutionEnding", + __Marshaller_gauge_messages_StepExecutionEndingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifyScenarioExecutionEnding = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifyScenarioExecutionEnding", + __Marshaller_gauge_messages_ScenarioExecutionEndingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifySpecExecutionEnding = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifySpecExecutionEnding", + __Marshaller_gauge_messages_SpecExecutionEndingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifyExecutionEnding = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifyExecutionEnding", + __Marshaller_gauge_messages_ExecutionEndingRequest, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_NotifySuiteResult = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "NotifySuiteResult", + __Marshaller_gauge_messages_SuiteExecutionResult, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_Kill = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "Kill", + __Marshaller_gauge_messages_KillProcessRequest, + __Marshaller_gauge_messages_Empty); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Gauge.Messages.ServicesReflection.Descriptor.Services[1]; } + } + + /// Base class for server-side implementations of Reporter + [grpc::BindServiceMethod(typeof(Reporter), "BindService")] + public abstract partial class ReporterBase + { + /// + /// NotifyExecutionStarting is a RPC to tell plugins that the execution has started. + /// + /// Accepts a ExecutionStartingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifyExecutionStarting(global::Gauge.Messages.ExecutionStartingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifySpecExecutionStarting is a RPC to tell plugins that the specification execution has started. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifySpecExecutionStarting(global::Gauge.Messages.SpecExecutionStartingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifyScenarioExecutionStarting is a RPC to tell plugins that the scenario execution has started. + /// + /// Accepts a ScenarioExecutionStartingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifyScenarioExecutionStarting(global::Gauge.Messages.ScenarioExecutionStartingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + /// + /// Accepts a ConceptExecutionStartingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifyConceptExecutionStarting(global::Gauge.Messages.ConceptExecutionStartingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + /// + /// Accepts a ConceptExecutionEndingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifyConceptExecutionEnding(global::Gauge.Messages.ConceptExecutionEndingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifyStepExecutionStarting is a RPC to tell plugins that the step execution has started. + /// + /// Accepts a StepExecutionStartingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifyStepExecutionStarting(global::Gauge.Messages.StepExecutionStartingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifyStepExecutionEnding is a RPC to tell plugins that the step execution has finished. + /// + /// Accepts a StepExecutionStartingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifyStepExecutionEnding(global::Gauge.Messages.StepExecutionEndingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifyScenarioExecutionEnding is a RPC to tell plugins that the scenario execution has finished. + /// + /// Accepts a ScenarioExecutionEndingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifyScenarioExecutionEnding(global::Gauge.Messages.ScenarioExecutionEndingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifySpecExecutionEnding is a RPC to tell plugins that the specification execution has finished. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifySpecExecutionEnding(global::Gauge.Messages.SpecExecutionEndingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifyExecutionEnding is a RPC to tell plugins that the execution has finished. + /// + /// Accepts a ExecutionEndingRequest message and returns a Empty message + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifyExecutionEnding(global::Gauge.Messages.ExecutionEndingRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// NotifySuiteResult is a RPC to tell about the end result of execution + /// + /// Accepts a SuiteExecutionResult message and returns a Empty message. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task NotifySuiteResult(global::Gauge.Messages.SuiteExecutionResult request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task Kill(global::Gauge.Messages.KillProcessRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for Reporter + public partial class ReporterClient : grpc::ClientBase + { + /// Creates a new client for Reporter + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public ReporterClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for Reporter that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public ReporterClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected ReporterClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected ReporterClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// NotifyExecutionStarting is a RPC to tell plugins that the execution has started. + /// + /// Accepts a ExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyExecutionStarting(global::Gauge.Messages.ExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyExecutionStarting(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyExecutionStarting is a RPC to tell plugins that the execution has started. + /// + /// Accepts a ExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyExecutionStarting(global::Gauge.Messages.ExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifyExecutionStarting, null, options, request); + } + /// + /// NotifyExecutionStarting is a RPC to tell plugins that the execution has started. + /// + /// Accepts a ExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyExecutionStartingAsync(global::Gauge.Messages.ExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyExecutionStartingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyExecutionStarting is a RPC to tell plugins that the execution has started. + /// + /// Accepts a ExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyExecutionStartingAsync(global::Gauge.Messages.ExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifyExecutionStarting, null, options, request); + } + /// + /// NotifySpecExecutionStarting is a RPC to tell plugins that the specification execution has started. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifySpecExecutionStarting(global::Gauge.Messages.SpecExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifySpecExecutionStarting(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifySpecExecutionStarting is a RPC to tell plugins that the specification execution has started. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifySpecExecutionStarting(global::Gauge.Messages.SpecExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifySpecExecutionStarting, null, options, request); + } + /// + /// NotifySpecExecutionStarting is a RPC to tell plugins that the specification execution has started. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifySpecExecutionStartingAsync(global::Gauge.Messages.SpecExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifySpecExecutionStartingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifySpecExecutionStarting is a RPC to tell plugins that the specification execution has started. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifySpecExecutionStartingAsync(global::Gauge.Messages.SpecExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifySpecExecutionStarting, null, options, request); + } + /// + /// NotifyScenarioExecutionStarting is a RPC to tell plugins that the scenario execution has started. + /// + /// Accepts a ScenarioExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyScenarioExecutionStarting(global::Gauge.Messages.ScenarioExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyScenarioExecutionStarting(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyScenarioExecutionStarting is a RPC to tell plugins that the scenario execution has started. + /// + /// Accepts a ScenarioExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyScenarioExecutionStarting(global::Gauge.Messages.ScenarioExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifyScenarioExecutionStarting, null, options, request); + } + /// + /// NotifyScenarioExecutionStarting is a RPC to tell plugins that the scenario execution has started. + /// + /// Accepts a ScenarioExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyScenarioExecutionStartingAsync(global::Gauge.Messages.ScenarioExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyScenarioExecutionStartingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyScenarioExecutionStarting is a RPC to tell plugins that the scenario execution has started. + /// + /// Accepts a ScenarioExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyScenarioExecutionStartingAsync(global::Gauge.Messages.ScenarioExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifyScenarioExecutionStarting, null, options, request); + } + /// + /// NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + /// + /// Accepts a ConceptExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyConceptExecutionStarting(global::Gauge.Messages.ConceptExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyConceptExecutionStarting(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + /// + /// Accepts a ConceptExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyConceptExecutionStarting(global::Gauge.Messages.ConceptExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifyConceptExecutionStarting, null, options, request); + } + /// + /// NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + /// + /// Accepts a ConceptExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyConceptExecutionStartingAsync(global::Gauge.Messages.ConceptExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyConceptExecutionStartingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyConceptExecutionStarting is a RPC to tell plugins that the concept execution has started. + /// + /// Accepts a ConceptExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyConceptExecutionStartingAsync(global::Gauge.Messages.ConceptExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifyConceptExecutionStarting, null, options, request); + } + /// + /// NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + /// + /// Accepts a ConceptExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyConceptExecutionEnding(global::Gauge.Messages.ConceptExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyConceptExecutionEnding(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + /// + /// Accepts a ConceptExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyConceptExecutionEnding(global::Gauge.Messages.ConceptExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifyConceptExecutionEnding, null, options, request); + } + /// + /// NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + /// + /// Accepts a ConceptExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyConceptExecutionEndingAsync(global::Gauge.Messages.ConceptExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyConceptExecutionEndingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyConceptExecutionEnding is a RPC to tell plugins that the concept execution has finished. + /// + /// Accepts a ConceptExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyConceptExecutionEndingAsync(global::Gauge.Messages.ConceptExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifyConceptExecutionEnding, null, options, request); + } + /// + /// NotifyStepExecutionStarting is a RPC to tell plugins that the step execution has started. + /// + /// Accepts a StepExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyStepExecutionStarting(global::Gauge.Messages.StepExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyStepExecutionStarting(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyStepExecutionStarting is a RPC to tell plugins that the step execution has started. + /// + /// Accepts a StepExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyStepExecutionStarting(global::Gauge.Messages.StepExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifyStepExecutionStarting, null, options, request); + } + /// + /// NotifyStepExecutionStarting is a RPC to tell plugins that the step execution has started. + /// + /// Accepts a StepExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyStepExecutionStartingAsync(global::Gauge.Messages.StepExecutionStartingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyStepExecutionStartingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyStepExecutionStarting is a RPC to tell plugins that the step execution has started. + /// + /// Accepts a StepExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyStepExecutionStartingAsync(global::Gauge.Messages.StepExecutionStartingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifyStepExecutionStarting, null, options, request); + } + /// + /// NotifyStepExecutionEnding is a RPC to tell plugins that the step execution has finished. + /// + /// Accepts a StepExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyStepExecutionEnding(global::Gauge.Messages.StepExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyStepExecutionEnding(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyStepExecutionEnding is a RPC to tell plugins that the step execution has finished. + /// + /// Accepts a StepExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyStepExecutionEnding(global::Gauge.Messages.StepExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifyStepExecutionEnding, null, options, request); + } + /// + /// NotifyStepExecutionEnding is a RPC to tell plugins that the step execution has finished. + /// + /// Accepts a StepExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyStepExecutionEndingAsync(global::Gauge.Messages.StepExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyStepExecutionEndingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyStepExecutionEnding is a RPC to tell plugins that the step execution has finished. + /// + /// Accepts a StepExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyStepExecutionEndingAsync(global::Gauge.Messages.StepExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifyStepExecutionEnding, null, options, request); + } + /// + /// NotifyScenarioExecutionEnding is a RPC to tell plugins that the scenario execution has finished. + /// + /// Accepts a ScenarioExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyScenarioExecutionEnding(global::Gauge.Messages.ScenarioExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyScenarioExecutionEnding(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyScenarioExecutionEnding is a RPC to tell plugins that the scenario execution has finished. + /// + /// Accepts a ScenarioExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyScenarioExecutionEnding(global::Gauge.Messages.ScenarioExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifyScenarioExecutionEnding, null, options, request); + } + /// + /// NotifyScenarioExecutionEnding is a RPC to tell plugins that the scenario execution has finished. + /// + /// Accepts a ScenarioExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyScenarioExecutionEndingAsync(global::Gauge.Messages.ScenarioExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyScenarioExecutionEndingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyScenarioExecutionEnding is a RPC to tell plugins that the scenario execution has finished. + /// + /// Accepts a ScenarioExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyScenarioExecutionEndingAsync(global::Gauge.Messages.ScenarioExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifyScenarioExecutionEnding, null, options, request); + } + /// + /// NotifySpecExecutionEnding is a RPC to tell plugins that the specification execution has finished. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifySpecExecutionEnding(global::Gauge.Messages.SpecExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifySpecExecutionEnding(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifySpecExecutionEnding is a RPC to tell plugins that the specification execution has finished. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifySpecExecutionEnding(global::Gauge.Messages.SpecExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifySpecExecutionEnding, null, options, request); + } + /// + /// NotifySpecExecutionEnding is a RPC to tell plugins that the specification execution has finished. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifySpecExecutionEndingAsync(global::Gauge.Messages.SpecExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifySpecExecutionEndingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifySpecExecutionEnding is a RPC to tell plugins that the specification execution has finished. + /// + /// Accepts a SpecExecutionStartingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifySpecExecutionEndingAsync(global::Gauge.Messages.SpecExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifySpecExecutionEnding, null, options, request); + } + /// + /// NotifyExecutionEnding is a RPC to tell plugins that the execution has finished. + /// + /// Accepts a ExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyExecutionEnding(global::Gauge.Messages.ExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyExecutionEnding(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyExecutionEnding is a RPC to tell plugins that the execution has finished. + /// + /// Accepts a ExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifyExecutionEnding(global::Gauge.Messages.ExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifyExecutionEnding, null, options, request); + } + /// + /// NotifyExecutionEnding is a RPC to tell plugins that the execution has finished. + /// + /// Accepts a ExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyExecutionEndingAsync(global::Gauge.Messages.ExecutionEndingRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifyExecutionEndingAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifyExecutionEnding is a RPC to tell plugins that the execution has finished. + /// + /// Accepts a ExecutionEndingRequest message and returns a Empty message + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifyExecutionEndingAsync(global::Gauge.Messages.ExecutionEndingRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifyExecutionEnding, null, options, request); + } + /// + /// NotifySuiteResult is a RPC to tell about the end result of execution + /// + /// Accepts a SuiteExecutionResult message and returns a Empty message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifySuiteResult(global::Gauge.Messages.SuiteExecutionResult request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifySuiteResult(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifySuiteResult is a RPC to tell about the end result of execution + /// + /// Accepts a SuiteExecutionResult message and returns a Empty message. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty NotifySuiteResult(global::Gauge.Messages.SuiteExecutionResult request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_NotifySuiteResult, null, options, request); + } + /// + /// NotifySuiteResult is a RPC to tell about the end result of execution + /// + /// Accepts a SuiteExecutionResult message and returns a Empty message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifySuiteResultAsync(global::Gauge.Messages.SuiteExecutionResult request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return NotifySuiteResultAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// NotifySuiteResult is a RPC to tell about the end result of execution + /// + /// Accepts a SuiteExecutionResult message and returns a Empty message. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall NotifySuiteResultAsync(global::Gauge.Messages.SuiteExecutionResult request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_NotifySuiteResult, null, options, request); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty Kill(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 Kill(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty Kill(global::Gauge.Messages.KillProcessRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_Kill, null, options, request); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall KillAsync(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 KillAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall KillAsync(global::Gauge.Messages.KillProcessRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_Kill, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override ReporterClient NewInstance(ClientBaseConfiguration configuration) + { + return new ReporterClient(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(ReporterBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_NotifyExecutionStarting, serviceImpl.NotifyExecutionStarting) + .AddMethod(__Method_NotifySpecExecutionStarting, serviceImpl.NotifySpecExecutionStarting) + .AddMethod(__Method_NotifyScenarioExecutionStarting, serviceImpl.NotifyScenarioExecutionStarting) + .AddMethod(__Method_NotifyConceptExecutionStarting, serviceImpl.NotifyConceptExecutionStarting) + .AddMethod(__Method_NotifyConceptExecutionEnding, serviceImpl.NotifyConceptExecutionEnding) + .AddMethod(__Method_NotifyStepExecutionStarting, serviceImpl.NotifyStepExecutionStarting) + .AddMethod(__Method_NotifyStepExecutionEnding, serviceImpl.NotifyStepExecutionEnding) + .AddMethod(__Method_NotifyScenarioExecutionEnding, serviceImpl.NotifyScenarioExecutionEnding) + .AddMethod(__Method_NotifySpecExecutionEnding, serviceImpl.NotifySpecExecutionEnding) + .AddMethod(__Method_NotifyExecutionEnding, serviceImpl.NotifyExecutionEnding) + .AddMethod(__Method_NotifySuiteResult, serviceImpl.NotifySuiteResult) + .AddMethod(__Method_Kill, serviceImpl.Kill).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, ReporterBase serviceImpl) + { + serviceBinder.AddMethod(__Method_NotifyExecutionStarting, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifyExecutionStarting)); + serviceBinder.AddMethod(__Method_NotifySpecExecutionStarting, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifySpecExecutionStarting)); + serviceBinder.AddMethod(__Method_NotifyScenarioExecutionStarting, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifyScenarioExecutionStarting)); + serviceBinder.AddMethod(__Method_NotifyConceptExecutionStarting, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifyConceptExecutionStarting)); + serviceBinder.AddMethod(__Method_NotifyConceptExecutionEnding, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifyConceptExecutionEnding)); + serviceBinder.AddMethod(__Method_NotifyStepExecutionStarting, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifyStepExecutionStarting)); + serviceBinder.AddMethod(__Method_NotifyStepExecutionEnding, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifyStepExecutionEnding)); + serviceBinder.AddMethod(__Method_NotifyScenarioExecutionEnding, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifyScenarioExecutionEnding)); + serviceBinder.AddMethod(__Method_NotifySpecExecutionEnding, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifySpecExecutionEnding)); + serviceBinder.AddMethod(__Method_NotifyExecutionEnding, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifyExecutionEnding)); + serviceBinder.AddMethod(__Method_NotifySuiteResult, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.NotifySuiteResult)); + serviceBinder.AddMethod(__Method_Kill, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.Kill)); + } + + } + /// + /// Reporter services is meant for documentation plugins + /// + public static partial class Documenter + { + static readonly string __ServiceName = "gauge.messages.Documenter"; + + [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_SpecDetails = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::Gauge.Messages.SpecDetails.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_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_GenerateDocs = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "GenerateDocs", + __Marshaller_gauge_messages_SpecDetails, + __Marshaller_gauge_messages_Empty); + + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_Kill = new grpc::Method( + grpc::MethodType.Unary, + __ServiceName, + "Kill", + __Marshaller_gauge_messages_KillProcessRequest, + __Marshaller_gauge_messages_Empty); + + /// Service descriptor + public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor + { + get { return global::Gauge.Messages.ServicesReflection.Descriptor.Services[2]; } + } + + /// Base class for server-side implementations of Documenter + [grpc::BindServiceMethod(typeof(Documenter), "BindService")] + public abstract partial class DocumenterBase + { + /// + /// GenerateDocs is a RPC tell plugin to generate docs from the spec details. + /// + /// Accepts a SpecDetails message and returns a Empty message. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task GenerateDocs(global::Gauge.Messages.SpecDetails request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request received from the client. + /// The context of the server-side call handler being invoked. + /// The response to send back to the client (wrapped by a task). + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task Kill(global::Gauge.Messages.KillProcessRequest request, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + + } + + /// Client for Documenter + public partial class DocumenterClient : grpc::ClientBase + { + /// Creates a new client for Documenter + /// The channel to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public DocumenterClient(grpc::ChannelBase channel) : base(channel) + { + } + /// Creates a new client for Documenter that uses a custom CallInvoker. + /// The callInvoker to use to make remote calls. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public DocumenterClient(grpc::CallInvoker callInvoker) : base(callInvoker) + { + } + /// Protected parameterless constructor to allow creation of test doubles. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected DocumenterClient() : base() + { + } + /// Protected constructor to allow creation of configured clients. + /// The client configuration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected DocumenterClient(ClientBaseConfiguration configuration) : base(configuration) + { + } + + /// + /// GenerateDocs is a RPC tell plugin to generate docs from the spec details. + /// + /// Accepts a SpecDetails message and returns a Empty message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty GenerateDocs(global::Gauge.Messages.SpecDetails request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GenerateDocs(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// GenerateDocs is a RPC tell plugin to generate docs from the spec details. + /// + /// Accepts a SpecDetails message and returns a Empty message. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty GenerateDocs(global::Gauge.Messages.SpecDetails request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_GenerateDocs, null, options, request); + } + /// + /// GenerateDocs is a RPC tell plugin to generate docs from the spec details. + /// + /// Accepts a SpecDetails message and returns a Empty message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GenerateDocsAsync(global::Gauge.Messages.SpecDetails request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return GenerateDocsAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// GenerateDocs is a RPC tell plugin to generate docs from the spec details. + /// + /// Accepts a SpecDetails message and returns a Empty message. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall GenerateDocsAsync(global::Gauge.Messages.SpecDetails request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_GenerateDocs, null, options, request); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty Kill(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 Kill(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The options for the call. + /// The response received from the server. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::Gauge.Messages.Empty Kill(global::Gauge.Messages.KillProcessRequest request, grpc::CallOptions options) + { + return CallInvoker.BlockingUnaryCall(__Method_Kill, null, options, request); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The initial metadata to send with the call. This parameter is optional. + /// An optional deadline for the call. The call will be cancelled if deadline is hit. + /// An optional token for canceling the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall KillAsync(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 KillAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// Kill is a RPC tell plugin to stop grpc server and kill the plugin process. + /// + /// Accepts a KillProcessRequest message and returns a Empty message. + /// + /// The request to send to the server. + /// The options for the call. + /// The call object. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual grpc::AsyncUnaryCall KillAsync(global::Gauge.Messages.KillProcessRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncUnaryCall(__Method_Kill, null, options, request); + } + /// Creates a new instance of client from given ClientBaseConfiguration. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + protected override DocumenterClient NewInstance(ClientBaseConfiguration configuration) + { + return new DocumenterClient(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(DocumenterBase serviceImpl) + { + return grpc::ServerServiceDefinition.CreateBuilder() + .AddMethod(__Method_GenerateDocs, serviceImpl.GenerateDocs) + .AddMethod(__Method_Kill, serviceImpl.Kill).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, DocumenterBase serviceImpl) + { + serviceBinder.AddMethod(__Method_GenerateDocs, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.GenerateDocs)); + serviceBinder.AddMethod(__Method_Kill, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.Kill)); + } + + } +} +#endregion diff --git a/src/Gauge.CSharp.Core/Spec.cs b/src/Gauge.CSharp.Core/Spec.cs new file mode 100644 index 0000000..161f990 --- /dev/null +++ b/src/Gauge.CSharp.Core/Spec.cs @@ -0,0 +1,9561 @@ +// +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: spec.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 spec.proto + public static partial class SpecReflection { + + #region Descriptor + /// File descriptor for spec.proto + public static pbr::FileDescriptor Descriptor { + get { return descriptor; } + } + private static pbr::FileDescriptor descriptor; + + static SpecReflection() { + byte[] descriptorData = global::System.Convert.FromBase64String( + string.Concat( + "CgpzcGVjLnByb3RvEg5nYXVnZS5tZXNzYWdlcyL5AwoJUHJvdG9TcGVjEhMK", + "C3NwZWNIZWFkaW5nGAEgASgJEigKBWl0ZW1zGAIgAygLMhkuZ2F1Z2UubWVz", + "c2FnZXMuUHJvdG9JdGVtEhUKDWlzVGFibGVEcml2ZW4YAyABKAgSOQoPcHJl", + "SG9va0ZhaWx1cmVzGAQgAygLMiAuZ2F1Z2UubWVzc2FnZXMuUHJvdG9Ib29r", + "RmFpbHVyZRI6ChBwb3N0SG9va0ZhaWx1cmVzGAUgAygLMiAuZ2F1Z2UubWVz", + "c2FnZXMuUHJvdG9Ib29rRmFpbHVyZRIQCghmaWxlTmFtZRgGIAEoCRIMCgR0", + "YWdzGAcgAygJEhcKD3ByZUhvb2tNZXNzYWdlcxgIIAMoCRIYChBwb3N0SG9v", + "a01lc3NhZ2VzGAkgAygJEhoKDnByZUhvb2tNZXNzYWdlGAogAygJQgIYARIb", + "Cg9wb3N0SG9va01lc3NhZ2UYCyADKAlCAhgBEh4KEnByZUhvb2tTY3JlZW5z", + "aG90cxgMIAMoDEICGAESHwoTcG9zdEhvb2tTY3JlZW5zaG90cxgNIAMoDEIC", + "GAESEQoJaXRlbUNvdW50GA4gASgDEh4KFnByZUhvb2tTY3JlZW5zaG90Rmls", + "ZXMYDyADKAkSHwoXcG9zdEhvb2tTY3JlZW5zaG90RmlsZXMYECADKAkikgQK", + "CVByb3RvSXRlbRI0CghpdGVtVHlwZRgBIAEoDjIiLmdhdWdlLm1lc3NhZ2Vz", + "LlByb3RvSXRlbS5JdGVtVHlwZRInCgRzdGVwGAIgASgLMhkuZ2F1Z2UubWVz", + "c2FnZXMuUHJvdG9TdGVwEi0KB2NvbmNlcHQYAyABKAsyHC5nYXVnZS5tZXNz", + "YWdlcy5Qcm90b0NvbmNlcHQSLwoIc2NlbmFyaW8YBCABKAsyHS5nYXVnZS5t", + "ZXNzYWdlcy5Qcm90b1NjZW5hcmlvEkUKE3RhYmxlRHJpdmVuU2NlbmFyaW8Y", + "BSABKAsyKC5nYXVnZS5tZXNzYWdlcy5Qcm90b1RhYmxlRHJpdmVuU2NlbmFy", + "aW8SLQoHY29tbWVudBgGIAEoCzIcLmdhdWdlLm1lc3NhZ2VzLlByb3RvQ29t", + "bWVudBIpCgV0YWJsZRgHIAEoCzIaLmdhdWdlLm1lc3NhZ2VzLlByb3RvVGFi", + "bGUSJwoEdGFncxgIIAEoCzIZLmdhdWdlLm1lc3NhZ2VzLlByb3RvVGFncxIQ", + "CghmaWxlTmFtZRgJIAEoCSJqCghJdGVtVHlwZRIICgRTdGVwEAASCwoHQ29t", + "bWVudBABEgsKB0NvbmNlcHQQAhIMCghTY2VuYXJpbxADEhcKE1RhYmxlRHJp", + "dmVuU2NlbmFyaW8QBBIJCgVUYWJsZRAFEggKBFRhZ3MQBiL+BQoNUHJvdG9T", + "Y2VuYXJpbxIXCg9zY2VuYXJpb0hlYWRpbmcYASABKAkSEgoGZmFpbGVkGAIg", + "ASgIQgIYARIrCghjb250ZXh0cxgDIAMoCzIZLmdhdWdlLm1lc3NhZ2VzLlBy", + "b3RvSXRlbRIwCg1zY2VuYXJpb0l0ZW1zGAQgAygLMhkuZ2F1Z2UubWVzc2Fn", + "ZXMuUHJvdG9JdGVtEjgKDnByZUhvb2tGYWlsdXJlGAUgASgLMiAuZ2F1Z2Uu", + "bWVzc2FnZXMuUHJvdG9Ib29rRmFpbHVyZRI5Cg9wb3N0SG9va0ZhaWx1cmUY", + "BiABKAsyIC5nYXVnZS5tZXNzYWdlcy5Qcm90b0hvb2tGYWlsdXJlEgwKBHRh", + "Z3MYByADKAkSFQoNZXhlY3V0aW9uVGltZRgIIAEoAxITCgdza2lwcGVkGAkg", + "ASgIQgIYARISCgpza2lwRXJyb3JzGAogAygJEgoKAklEGAsgASgJEjAKDXRl", + "YXJEb3duU3RlcHMYDCADKAsyGS5nYXVnZS5tZXNzYWdlcy5Qcm90b0l0ZW0S", + "IgoEc3BhbhgNIAEoCzIULmdhdWdlLm1lc3NhZ2VzLlNwYW4SOAoPZXhlY3V0", + "aW9uU3RhdHVzGA4gASgOMh8uZ2F1Z2UubWVzc2FnZXMuRXhlY3V0aW9uU3Rh", + "dHVzEhcKD3ByZUhvb2tNZXNzYWdlcxgPIAMoCRIYChBwb3N0SG9va01lc3Nh", + "Z2VzGBAgAygJEhoKDnByZUhvb2tNZXNzYWdlGBEgAygJQgIYARIbCg9wb3N0", + "SG9va01lc3NhZ2UYEiADKAlCAhgBEh4KEnByZUhvb2tTY3JlZW5zaG90cxgT", + "IAMoDEICGAESHwoTcG9zdEhvb2tTY3JlZW5zaG90cxgUIAMoDEICGAESHgoW", + "cHJlSG9va1NjcmVlbnNob3RGaWxlcxgVIAMoCRIfChdwb3N0SG9va1NjcmVl", + "bnNob3RGaWxlcxgWIAMoCRIUCgxyZXRyaWVzQ291bnQYFyABKAMiRgoEU3Bh", + "bhINCgVzdGFydBgBIAEoAxILCgNlbmQYAiABKAMSEQoJc3RhcnRDaGFyGAMg", + "ASgDEg8KB2VuZENoYXIYBCABKAMiqAIKGFByb3RvVGFibGVEcml2ZW5TY2Vu", + "YXJpbxIvCghzY2VuYXJpbxgBIAEoCzIdLmdhdWdlLm1lc3NhZ2VzLlByb3Rv", + "U2NlbmFyaW8SFQoNdGFibGVSb3dJbmRleBgCIAEoBRIdChVzY2VuYXJpb1Rh", + "YmxlUm93SW5kZXgYAyABKAUSGQoRaXNTcGVjVGFibGVEcml2ZW4YBCABKAgS", + "HQoVaXNTY2VuYXJpb1RhYmxlRHJpdmVuGAUgASgIEjUKEXNjZW5hcmlvRGF0", + "YVRhYmxlGAYgASgLMhouZ2F1Z2UubWVzc2FnZXMuUHJvdG9UYWJsZRI0ChBz", + "Y2VuYXJpb1RhYmxlUm93GAcgASgLMhouZ2F1Z2UubWVzc2FnZXMuUHJvdG9U", + "YWJsZSLcAgoJUHJvdG9TdGVwEhIKCmFjdHVhbFRleHQYASABKAkSEgoKcGFy", + "c2VkVGV4dBgCIAEoCRIrCglmcmFnbWVudHMYAyADKAsyGC5nYXVnZS5tZXNz", + "YWdlcy5GcmFnbWVudBJFChNzdGVwRXhlY3V0aW9uUmVzdWx0GAQgASgLMigu", + "Z2F1Z2UubWVzc2FnZXMuUHJvdG9TdGVwRXhlY3V0aW9uUmVzdWx0EhcKD3By", + "ZUhvb2tNZXNzYWdlcxgFIAMoCRIYChBwb3N0SG9va01lc3NhZ2VzGAYgAygJ", + "Eh4KEnByZUhvb2tTY3JlZW5zaG90cxgHIAMoDEICGAESHwoTcG9zdEhvb2tT", + "Y3JlZW5zaG90cxgIIAMoDEICGAESHgoWcHJlSG9va1NjcmVlbnNob3RGaWxl", + "cxgJIAMoCRIfChdwb3N0SG9va1NjcmVlbnNob3RGaWxlcxgKIAMoCSKyAQoM", + "UHJvdG9Db25jZXB0Ei4KC2NvbmNlcHRTdGVwGAEgASgLMhkuZ2F1Z2UubWVz", + "c2FnZXMuUHJvdG9TdGVwEigKBXN0ZXBzGAIgAygLMhkuZ2F1Z2UubWVzc2Fn", + "ZXMuUHJvdG9JdGVtEkgKFmNvbmNlcHRFeGVjdXRpb25SZXN1bHQYAyABKAsy", + "KC5nYXVnZS5tZXNzYWdlcy5Qcm90b1N0ZXBFeGVjdXRpb25SZXN1bHQiGQoJ", + "UHJvdG9UYWdzEgwKBHRhZ3MYASADKAkirAEKCEZyYWdtZW50EjsKDGZyYWdt", + "ZW50VHlwZRgBIAEoDjIlLmdhdWdlLm1lc3NhZ2VzLkZyYWdtZW50LkZyYWdt", + "ZW50VHlwZRIMCgR0ZXh0GAIgASgJEiwKCXBhcmFtZXRlchgDIAEoCzIZLmdh", + "dWdlLm1lc3NhZ2VzLlBhcmFtZXRlciInCgxGcmFnbWVudFR5cGUSCAoEVGV4", + "dBAAEg0KCVBhcmFtZXRlchABIu8BCglQYXJhbWV0ZXISPgoNcGFyYW1ldGVy", + "VHlwZRgBIAEoDjInLmdhdWdlLm1lc3NhZ2VzLlBhcmFtZXRlci5QYXJhbWV0", + "ZXJUeXBlEg0KBXZhbHVlGAIgASgJEgwKBG5hbWUYAyABKAkSKQoFdGFibGUY", + "BCABKAsyGi5nYXVnZS5tZXNzYWdlcy5Qcm90b1RhYmxlIloKDVBhcmFtZXRl", + "clR5cGUSCgoGU3RhdGljEAASCwoHRHluYW1pYxABEhIKDlNwZWNpYWxfU3Ry", + "aW5nEAISEQoNU3BlY2lhbF9UYWJsZRADEgkKBVRhYmxlEAQiHAoMUHJvdG9D", + "b21tZW50EgwKBHRleHQYASABKAkiaQoKUHJvdG9UYWJsZRIuCgdoZWFkZXJz", + "GAEgASgLMh0uZ2F1Z2UubWVzc2FnZXMuUHJvdG9UYWJsZVJvdxIrCgRyb3dz", + "GAIgAygLMh0uZ2F1Z2UubWVzc2FnZXMuUHJvdG9UYWJsZVJvdyIeCg1Qcm90", + "b1RhYmxlUm93Eg0KBWNlbGxzGAEgAygJIvYBChhQcm90b1N0ZXBFeGVjdXRp", + "b25SZXN1bHQSPQoPZXhlY3V0aW9uUmVzdWx0GAEgASgLMiQuZ2F1Z2UubWVz", + "c2FnZXMuUHJvdG9FeGVjdXRpb25SZXN1bHQSOAoOcHJlSG9va0ZhaWx1cmUY", + "AiABKAsyIC5nYXVnZS5tZXNzYWdlcy5Qcm90b0hvb2tGYWlsdXJlEjkKD3Bv", + "c3RIb29rRmFpbHVyZRgDIAEoCzIgLmdhdWdlLm1lc3NhZ2VzLlByb3RvSG9v", + "a0ZhaWx1cmUSDwoHc2tpcHBlZBgEIAEoCBIVCg1za2lwcGVkUmVhc29uGAUg", + "ASgJIosDChRQcm90b0V4ZWN1dGlvblJlc3VsdBIOCgZmYWlsZWQYASABKAgS", + "GAoQcmVjb3ZlcmFibGVFcnJvchgCIAEoCBIUCgxlcnJvck1lc3NhZ2UYAyAB", + "KAkSEgoKc3RhY2tUcmFjZRgEIAEoCRIWCgpzY3JlZW5TaG90GAUgASgMQgIY", + "ARIVCg1leGVjdXRpb25UaW1lGAYgASgDEg8KB21lc3NhZ2UYByADKAkSQQoJ", + "ZXJyb3JUeXBlGAggASgOMi4uZ2F1Z2UubWVzc2FnZXMuUHJvdG9FeGVjdXRp", + "b25SZXN1bHQuRXJyb3JUeXBlEh0KEWZhaWx1cmVTY3JlZW5zaG90GAkgASgM", + "QgIYARIXCgtzY3JlZW5zaG90cxgKIAMoDEICGAESHQoVZmFpbHVyZVNjcmVl", + "bnNob3RGaWxlGAsgASgJEhcKD3NjcmVlbnNob3RGaWxlcxgMIAMoCSIsCglF", + "cnJvclR5cGUSDQoJQVNTRVJUSU9OEAASEAoMVkVSSUZJQ0FUSU9OEAEiqQEK", + "EFByb3RvSG9va0ZhaWx1cmUSEgoKc3RhY2tUcmFjZRgBIAEoCRIUCgxlcnJv", + "ck1lc3NhZ2UYAiABKAkSFgoKc2NyZWVuU2hvdBgDIAEoDEICGAESFQoNdGFi", + "bGVSb3dJbmRleBgEIAEoBRIdChFmYWlsdXJlU2NyZWVuc2hvdBgFIAEoDEIC", + "GAESHQoVZmFpbHVyZVNjcmVlbnNob3RGaWxlGAYgASgJIosFChBQcm90b1N1", + "aXRlUmVzdWx0EjQKC3NwZWNSZXN1bHRzGAEgAygLMh8uZ2F1Z2UubWVzc2Fn", + "ZXMuUHJvdG9TcGVjUmVzdWx0EjgKDnByZUhvb2tGYWlsdXJlGAIgASgLMiAu", + "Z2F1Z2UubWVzc2FnZXMuUHJvdG9Ib29rRmFpbHVyZRI5Cg9wb3N0SG9va0Zh", + "aWx1cmUYAyABKAsyIC5nYXVnZS5tZXNzYWdlcy5Qcm90b0hvb2tGYWlsdXJl", + "Eg4KBmZhaWxlZBgEIAEoCBIYChBzcGVjc0ZhaWxlZENvdW50GAUgASgFEhUK", + "DWV4ZWN1dGlvblRpbWUYBiABKAMSEwoLc3VjY2Vzc1JhdGUYByABKAISEwoL", + "ZW52aXJvbm1lbnQYCCABKAkSDAoEdGFncxgJIAEoCRITCgtwcm9qZWN0TmFt", + "ZRgKIAEoCRIRCgl0aW1lc3RhbXAYCyABKAkSGQoRc3BlY3NTa2lwcGVkQ291", + "bnQYDCABKAUSFwoPcHJlSG9va01lc3NhZ2VzGA0gAygJEhgKEHBvc3RIb29r", + "TWVzc2FnZXMYDiADKAkSGgoOcHJlSG9va01lc3NhZ2UYDyADKAlCAhgBEhsK", + "D3Bvc3RIb29rTWVzc2FnZRgQIAMoCUICGAESHgoScHJlSG9va1NjcmVlbnNo", + "b3RzGBEgAygMQgIYARIfChNwb3N0SG9va1NjcmVlbnNob3RzGBIgAygMQgIY", + "ARIPCgdjaHVua2VkGBMgASgIEhEKCWNodW5rU2l6ZRgUIAEoAxIeChZwcmVI", + "b29rU2NyZWVuc2hvdEZpbGVzGBUgAygJEh8KF3Bvc3RIb29rU2NyZWVuc2hv", + "dEZpbGVzGBYgAygJIr4CCg9Qcm90b1NwZWNSZXN1bHQSLAoJcHJvdG9TcGVj", + "GAEgASgLMhkuZ2F1Z2UubWVzc2FnZXMuUHJvdG9TcGVjEhUKDXNjZW5hcmlv", + "Q291bnQYAiABKAUSGwoTc2NlbmFyaW9GYWlsZWRDb3VudBgDIAEoBRIOCgZm", + "YWlsZWQYBCABKAgSGwoTZmFpbGVkRGF0YVRhYmxlUm93cxgFIAMoBRIVCg1l", + "eGVjdXRpb25UaW1lGAYgASgDEg8KB3NraXBwZWQYByABKAgSHAoUc2NlbmFy", + "aW9Ta2lwcGVkQ291bnQYCCABKAUSHAoUc2tpcHBlZERhdGFUYWJsZVJvd3MY", + "CSADKAUSJQoGZXJyb3JzGAogAygLMhUuZ2F1Z2UubWVzc2FnZXMuRXJyb3IS", + "EQoJdGltZXN0YW1wGAsgASgJIm0KE1Byb3RvU2NlbmFyaW9SZXN1bHQSLAoJ", + "cHJvdG9JdGVtGAEgASgLMhkuZ2F1Z2UubWVzc2FnZXMuUHJvdG9JdGVtEhUK", + "DWV4ZWN1dGlvblRpbWUYAiABKAMSEQoJdGltZXN0YW1wGAMgASgJImkKD1By", + "b3RvU3RlcFJlc3VsdBIsCglwcm90b0l0ZW0YASABKAsyGS5nYXVnZS5tZXNz", + "YWdlcy5Qcm90b0l0ZW0SFQoNZXhlY3V0aW9uVGltZRgCIAEoAxIRCgl0aW1l", + "c3RhbXAYAyABKAkioQEKBUVycm9yEi0KBHR5cGUYASABKA4yHy5nYXVnZS5t", + "ZXNzYWdlcy5FcnJvci5FcnJvclR5cGUSEAoIZmlsZW5hbWUYAiABKAkSEgoK", + "bGluZU51bWJlchgDIAEoBRIPCgdtZXNzYWdlGAQgASgJIjIKCUVycm9yVHlw", + "ZRIPCgtQQVJTRV9FUlJPUhAAEhQKEFZBTElEQVRJT05fRVJST1IQASJXCg5Q", + "cm90b1N0ZXBWYWx1ZRIRCglzdGVwVmFsdWUYASABKAkSHgoWcGFyYW1ldGVy", + "aXplZFN0ZXBWYWx1ZRgCIAEoCRISCgpwYXJhbWV0ZXJzGAMgAygJKkcKD0V4", + "ZWN1dGlvblN0YXR1cxIPCgtOT1RFWEVDVVRFRBAAEgoKBlBBU1NFRBABEgoK", + "BkZBSUxFRBACEgsKB1NLSVBQRUQQA0JcChZjb20udGhvdWdodHdvcmtzLmdh", + "dWdlWjFnaXRodWIuY29tL2dldGdhdWdlL2dhdWdlLXByb3RvL2dvL2dhdWdl", + "X21lc3NhZ2VzqgIOR2F1Z2UuTWVzc2FnZXNiBnByb3RvMw==")); + descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, + new pbr::FileDescriptor[] { }, + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Gauge.Messages.ExecutionStatus), }, null, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoSpec), global::Gauge.Messages.ProtoSpec.Parser, new[]{ "SpecHeading", "Items", "IsTableDriven", "PreHookFailures", "PostHookFailures", "FileName", "Tags", "PreHookMessages", "PostHookMessages", "PreHookMessage", "PostHookMessage", "PreHookScreenshots", "PostHookScreenshots", "ItemCount", "PreHookScreenshotFiles", "PostHookScreenshotFiles" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoItem), global::Gauge.Messages.ProtoItem.Parser, new[]{ "ItemType", "Step", "Concept", "Scenario", "TableDrivenScenario", "Comment", "Table", "Tags", "FileName" }, null, new[]{ typeof(global::Gauge.Messages.ProtoItem.Types.ItemType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoScenario), global::Gauge.Messages.ProtoScenario.Parser, new[]{ "ScenarioHeading", "Failed", "Contexts", "ScenarioItems", "PreHookFailure", "PostHookFailure", "Tags", "ExecutionTime", "Skipped", "SkipErrors", "ID", "TearDownSteps", "Span", "ExecutionStatus", "PreHookMessages", "PostHookMessages", "PreHookMessage", "PostHookMessage", "PreHookScreenshots", "PostHookScreenshots", "PreHookScreenshotFiles", "PostHookScreenshotFiles", "RetriesCount" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.Span), global::Gauge.Messages.Span.Parser, new[]{ "Start", "End", "StartChar", "EndChar" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoTableDrivenScenario), global::Gauge.Messages.ProtoTableDrivenScenario.Parser, new[]{ "Scenario", "TableRowIndex", "ScenarioTableRowIndex", "IsSpecTableDriven", "IsScenarioTableDriven", "ScenarioDataTable", "ScenarioTableRow" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoStep), global::Gauge.Messages.ProtoStep.Parser, new[]{ "ActualText", "ParsedText", "Fragments", "StepExecutionResult", "PreHookMessages", "PostHookMessages", "PreHookScreenshots", "PostHookScreenshots", "PreHookScreenshotFiles", "PostHookScreenshotFiles" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoConcept), global::Gauge.Messages.ProtoConcept.Parser, new[]{ "ConceptStep", "Steps", "ConceptExecutionResult" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoTags), global::Gauge.Messages.ProtoTags.Parser, new[]{ "Tags" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.Fragment), global::Gauge.Messages.Fragment.Parser, new[]{ "FragmentType", "Text", "Parameter" }, null, new[]{ typeof(global::Gauge.Messages.Fragment.Types.FragmentType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.Parameter), global::Gauge.Messages.Parameter.Parser, new[]{ "ParameterType", "Value", "Name", "Table" }, null, new[]{ typeof(global::Gauge.Messages.Parameter.Types.ParameterType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoComment), global::Gauge.Messages.ProtoComment.Parser, new[]{ "Text" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoTable), global::Gauge.Messages.ProtoTable.Parser, new[]{ "Headers", "Rows" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoTableRow), global::Gauge.Messages.ProtoTableRow.Parser, new[]{ "Cells" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoStepExecutionResult), global::Gauge.Messages.ProtoStepExecutionResult.Parser, new[]{ "ExecutionResult", "PreHookFailure", "PostHookFailure", "Skipped", "SkippedReason" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoExecutionResult), global::Gauge.Messages.ProtoExecutionResult.Parser, new[]{ "Failed", "RecoverableError", "ErrorMessage", "StackTrace", "ScreenShot", "ExecutionTime", "Message", "ErrorType", "FailureScreenshot", "Screenshots", "FailureScreenshotFile", "ScreenshotFiles" }, null, new[]{ typeof(global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoHookFailure), global::Gauge.Messages.ProtoHookFailure.Parser, new[]{ "StackTrace", "ErrorMessage", "ScreenShot", "TableRowIndex", "FailureScreenshot", "FailureScreenshotFile" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoSuiteResult), global::Gauge.Messages.ProtoSuiteResult.Parser, new[]{ "SpecResults", "PreHookFailure", "PostHookFailure", "Failed", "SpecsFailedCount", "ExecutionTime", "SuccessRate", "Environment", "Tags", "ProjectName", "Timestamp", "SpecsSkippedCount", "PreHookMessages", "PostHookMessages", "PreHookMessage", "PostHookMessage", "PreHookScreenshots", "PostHookScreenshots", "Chunked", "ChunkSize", "PreHookScreenshotFiles", "PostHookScreenshotFiles" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoSpecResult), global::Gauge.Messages.ProtoSpecResult.Parser, new[]{ "ProtoSpec", "ScenarioCount", "ScenarioFailedCount", "Failed", "FailedDataTableRows", "ExecutionTime", "Skipped", "ScenarioSkippedCount", "SkippedDataTableRows", "Errors", "Timestamp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoScenarioResult), global::Gauge.Messages.ProtoScenarioResult.Parser, new[]{ "ProtoItem", "ExecutionTime", "Timestamp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoStepResult), global::Gauge.Messages.ProtoStepResult.Parser, new[]{ "ProtoItem", "ExecutionTime", "Timestamp" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.Error), global::Gauge.Messages.Error.Parser, new[]{ "Type", "Filename", "LineNumber", "Message" }, null, new[]{ typeof(global::Gauge.Messages.Error.Types.ErrorType) }, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Gauge.Messages.ProtoStepValue), global::Gauge.Messages.ProtoStepValue.Parser, new[]{ "StepValue", "ParameterizedStepValue", "Parameters" }, null, null, null, null) + })); + } + #endregion + + } + #region Enums + /// + //// Execution Status + /// + public enum ExecutionStatus { + [pbr::OriginalName("NOTEXECUTED")] Notexecuted = 0, + [pbr::OriginalName("PASSED")] Passed = 1, + [pbr::OriginalName("FAILED")] Failed = 2, + [pbr::OriginalName("SKIPPED")] Skipped = 3, + } + + #endregion + + #region Messages + /// + //// A proto object representing a Specification + //// A specification can contain Scenarios or Steps, besides Comments + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoSpec : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSpec()); + 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.SpecReflection.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 ProtoSpec() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoSpec(ProtoSpec other) : this() { + specHeading_ = other.specHeading_; + items_ = other.items_.Clone(); + isTableDriven_ = other.isTableDriven_; + preHookFailures_ = other.preHookFailures_.Clone(); + postHookFailures_ = other.postHookFailures_.Clone(); + fileName_ = other.fileName_; + tags_ = other.tags_.Clone(); + preHookMessages_ = other.preHookMessages_.Clone(); + postHookMessages_ = other.postHookMessages_.Clone(); + preHookMessage_ = other.preHookMessage_.Clone(); + postHookMessage_ = other.postHookMessage_.Clone(); + preHookScreenshots_ = other.preHookScreenshots_.Clone(); + postHookScreenshots_ = other.postHookScreenshots_.Clone(); + itemCount_ = other.itemCount_; + preHookScreenshotFiles_ = other.preHookScreenshotFiles_.Clone(); + postHookScreenshotFiles_ = other.postHookScreenshotFiles_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoSpec Clone() { + return new ProtoSpec(this); + } + + /// Field number for the "specHeading" field. + public const int SpecHeadingFieldNumber = 1; + private string specHeading_ = ""; + /// + //// Heading describing the Specification + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SpecHeading { + get { return specHeading_; } + set { + specHeading_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "items" field. + public const int ItemsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_items_codec + = pb::FieldCodec.ForMessage(18, global::Gauge.Messages.ProtoItem.Parser); + private readonly pbc::RepeatedField items_ = new pbc::RepeatedField(); + /// + //// A collection of items that come under this step + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Items { + get { return items_; } + } + + /// Field number for the "isTableDriven" field. + public const int IsTableDrivenFieldNumber = 3; + private bool isTableDriven_; + /// + //// Flag indicating if this is a Table Driven Specification. The table is defined in the context, this is different from using a table parameter. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsTableDriven { + get { return isTableDriven_; } + set { + isTableDriven_ = value; + } + } + + /// Field number for the "preHookFailures" field. + public const int PreHookFailuresFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_preHookFailures_codec + = pb::FieldCodec.ForMessage(34, global::Gauge.Messages.ProtoHookFailure.Parser); + private readonly pbc::RepeatedField preHookFailures_ = new pbc::RepeatedField(); + /// + //// Contains a 'before' hook failure message. This happens when the `before_spec` hook has an error. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookFailures { + get { return preHookFailures_; } + } + + /// Field number for the "postHookFailures" field. + public const int PostHookFailuresFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_postHookFailures_codec + = pb::FieldCodec.ForMessage(42, global::Gauge.Messages.ProtoHookFailure.Parser); + private readonly pbc::RepeatedField postHookFailures_ = new pbc::RepeatedField(); + /// + //// Contains a 'before' hook failure message. This happens when the `after_hook` hook has an error. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookFailures { + get { return postHookFailures_; } + } + + /// Field number for the "fileName" field. + public const int FileNameFieldNumber = 6; + private string fileName_ = ""; + /// + //// Contains the filename for that holds this specification. + /// + [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 "tags" field. + public const int TagsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_tags_codec + = pb::FieldCodec.ForString(58); + private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); + /// + //// Contains a list of tags that are defined at the specification level. Scenario tags are not present here. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tags { + get { return tags_; } + } + + /// Field number for the "preHookMessages" field. + public const int PreHookMessagesFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_preHookMessages_codec + = pb::FieldCodec.ForString(66); + private readonly pbc::RepeatedField preHookMessages_ = new pbc::RepeatedField(); + /// + //// Additional information at pre hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookMessages { + get { return preHookMessages_; } + } + + /// Field number for the "postHookMessages" field. + public const int PostHookMessagesFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_postHookMessages_codec + = pb::FieldCodec.ForString(74); + private readonly pbc::RepeatedField postHookMessages_ = new pbc::RepeatedField(); + /// + //// Additional information at post hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookMessages { + get { return postHookMessages_; } + } + + /// Field number for the "preHookMessage" field. + public const int PreHookMessageFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_preHookMessage_codec + = pb::FieldCodec.ForString(82); + private readonly pbc::RepeatedField preHookMessage_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookMessage { + get { return preHookMessage_; } + } + + /// Field number for the "postHookMessage" field. + public const int PostHookMessageFieldNumber = 11; + private static readonly pb::FieldCodec _repeated_postHookMessage_codec + = pb::FieldCodec.ForString(90); + private readonly pbc::RepeatedField postHookMessage_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookMessage { + get { return postHookMessage_; } + } + + /// Field number for the "preHookScreenshots" field. + public const int PreHookScreenshotsFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_preHookScreenshots_codec + = pb::FieldCodec.ForBytes(98); + private readonly pbc::RepeatedField preHookScreenshots_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookScreenshots { + get { return preHookScreenshots_; } + } + + /// Field number for the "postHookScreenshots" field. + public const int PostHookScreenshotsFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_postHookScreenshots_codec + = pb::FieldCodec.ForBytes(106); + private readonly pbc::RepeatedField postHookScreenshots_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookScreenshots { + get { return postHookScreenshots_; } + } + + /// Field number for the "itemCount" field. + public const int ItemCountFieldNumber = 14; + private long itemCount_; + /// + //// meta field to indicate the number of items in the list + //// used when items are sent as individual chunk + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ItemCount { + get { return itemCount_; } + set { + itemCount_ = value; + } + } + + /// Field number for the "preHookScreenshotFiles" field. + public const int PreHookScreenshotFilesFieldNumber = 15; + private static readonly pb::FieldCodec _repeated_preHookScreenshotFiles_codec + = pb::FieldCodec.ForString(122); + private readonly pbc::RepeatedField preHookScreenshotFiles_ = new pbc::RepeatedField(); + /// + //// Screenshots captured on pre hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookScreenshotFiles { + get { return preHookScreenshotFiles_; } + } + + /// Field number for the "postHookScreenshotFiles" field. + public const int PostHookScreenshotFilesFieldNumber = 16; + private static readonly pb::FieldCodec _repeated_postHookScreenshotFiles_codec + = pb::FieldCodec.ForString(130); + private readonly pbc::RepeatedField postHookScreenshotFiles_ = new pbc::RepeatedField(); + /// + //// Screenshots captured on post hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookScreenshotFiles { + get { return postHookScreenshotFiles_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoSpec); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoSpec other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (SpecHeading != other.SpecHeading) return false; + if(!items_.Equals(other.items_)) return false; + if (IsTableDriven != other.IsTableDriven) return false; + if(!preHookFailures_.Equals(other.preHookFailures_)) return false; + if(!postHookFailures_.Equals(other.postHookFailures_)) return false; + if (FileName != other.FileName) return false; + if(!tags_.Equals(other.tags_)) return false; + if(!preHookMessages_.Equals(other.preHookMessages_)) return false; + if(!postHookMessages_.Equals(other.postHookMessages_)) return false; + if(!preHookMessage_.Equals(other.preHookMessage_)) return false; + if(!postHookMessage_.Equals(other.postHookMessage_)) return false; + if(!preHookScreenshots_.Equals(other.preHookScreenshots_)) return false; + if(!postHookScreenshots_.Equals(other.postHookScreenshots_)) return false; + if (ItemCount != other.ItemCount) return false; + if(!preHookScreenshotFiles_.Equals(other.preHookScreenshotFiles_)) return false; + if(!postHookScreenshotFiles_.Equals(other.postHookScreenshotFiles_)) 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 (SpecHeading.Length != 0) hash ^= SpecHeading.GetHashCode(); + hash ^= items_.GetHashCode(); + if (IsTableDriven != false) hash ^= IsTableDriven.GetHashCode(); + hash ^= preHookFailures_.GetHashCode(); + hash ^= postHookFailures_.GetHashCode(); + if (FileName.Length != 0) hash ^= FileName.GetHashCode(); + hash ^= tags_.GetHashCode(); + hash ^= preHookMessages_.GetHashCode(); + hash ^= postHookMessages_.GetHashCode(); + hash ^= preHookMessage_.GetHashCode(); + hash ^= postHookMessage_.GetHashCode(); + hash ^= preHookScreenshots_.GetHashCode(); + hash ^= postHookScreenshots_.GetHashCode(); + if (ItemCount != 0L) hash ^= ItemCount.GetHashCode(); + hash ^= preHookScreenshotFiles_.GetHashCode(); + hash ^= postHookScreenshotFiles_.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 (SpecHeading.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SpecHeading); + } + items_.WriteTo(output, _repeated_items_codec); + if (IsTableDriven != false) { + output.WriteRawTag(24); + output.WriteBool(IsTableDriven); + } + preHookFailures_.WriteTo(output, _repeated_preHookFailures_codec); + postHookFailures_.WriteTo(output, _repeated_postHookFailures_codec); + if (FileName.Length != 0) { + output.WriteRawTag(50); + output.WriteString(FileName); + } + tags_.WriteTo(output, _repeated_tags_codec); + preHookMessages_.WriteTo(output, _repeated_preHookMessages_codec); + postHookMessages_.WriteTo(output, _repeated_postHookMessages_codec); + preHookMessage_.WriteTo(output, _repeated_preHookMessage_codec); + postHookMessage_.WriteTo(output, _repeated_postHookMessage_codec); + preHookScreenshots_.WriteTo(output, _repeated_preHookScreenshots_codec); + postHookScreenshots_.WriteTo(output, _repeated_postHookScreenshots_codec); + if (ItemCount != 0L) { + output.WriteRawTag(112); + output.WriteInt64(ItemCount); + } + preHookScreenshotFiles_.WriteTo(output, _repeated_preHookScreenshotFiles_codec); + postHookScreenshotFiles_.WriteTo(output, _repeated_postHookScreenshotFiles_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 (SpecHeading.Length != 0) { + output.WriteRawTag(10); + output.WriteString(SpecHeading); + } + items_.WriteTo(ref output, _repeated_items_codec); + if (IsTableDriven != false) { + output.WriteRawTag(24); + output.WriteBool(IsTableDriven); + } + preHookFailures_.WriteTo(ref output, _repeated_preHookFailures_codec); + postHookFailures_.WriteTo(ref output, _repeated_postHookFailures_codec); + if (FileName.Length != 0) { + output.WriteRawTag(50); + output.WriteString(FileName); + } + tags_.WriteTo(ref output, _repeated_tags_codec); + preHookMessages_.WriteTo(ref output, _repeated_preHookMessages_codec); + postHookMessages_.WriteTo(ref output, _repeated_postHookMessages_codec); + preHookMessage_.WriteTo(ref output, _repeated_preHookMessage_codec); + postHookMessage_.WriteTo(ref output, _repeated_postHookMessage_codec); + preHookScreenshots_.WriteTo(ref output, _repeated_preHookScreenshots_codec); + postHookScreenshots_.WriteTo(ref output, _repeated_postHookScreenshots_codec); + if (ItemCount != 0L) { + output.WriteRawTag(112); + output.WriteInt64(ItemCount); + } + preHookScreenshotFiles_.WriteTo(ref output, _repeated_preHookScreenshotFiles_codec); + postHookScreenshotFiles_.WriteTo(ref output, _repeated_postHookScreenshotFiles_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 (SpecHeading.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SpecHeading); + } + size += items_.CalculateSize(_repeated_items_codec); + if (IsTableDriven != false) { + size += 1 + 1; + } + size += preHookFailures_.CalculateSize(_repeated_preHookFailures_codec); + size += postHookFailures_.CalculateSize(_repeated_postHookFailures_codec); + if (FileName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName); + } + size += tags_.CalculateSize(_repeated_tags_codec); + size += preHookMessages_.CalculateSize(_repeated_preHookMessages_codec); + size += postHookMessages_.CalculateSize(_repeated_postHookMessages_codec); + size += preHookMessage_.CalculateSize(_repeated_preHookMessage_codec); + size += postHookMessage_.CalculateSize(_repeated_postHookMessage_codec); + size += preHookScreenshots_.CalculateSize(_repeated_preHookScreenshots_codec); + size += postHookScreenshots_.CalculateSize(_repeated_postHookScreenshots_codec); + if (ItemCount != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ItemCount); + } + size += preHookScreenshotFiles_.CalculateSize(_repeated_preHookScreenshotFiles_codec); + size += postHookScreenshotFiles_.CalculateSize(_repeated_postHookScreenshotFiles_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoSpec other) { + if (other == null) { + return; + } + if (other.SpecHeading.Length != 0) { + SpecHeading = other.SpecHeading; + } + items_.Add(other.items_); + if (other.IsTableDriven != false) { + IsTableDriven = other.IsTableDriven; + } + preHookFailures_.Add(other.preHookFailures_); + postHookFailures_.Add(other.postHookFailures_); + if (other.FileName.Length != 0) { + FileName = other.FileName; + } + tags_.Add(other.tags_); + preHookMessages_.Add(other.preHookMessages_); + postHookMessages_.Add(other.postHookMessages_); + preHookMessage_.Add(other.preHookMessage_); + postHookMessage_.Add(other.postHookMessage_); + preHookScreenshots_.Add(other.preHookScreenshots_); + postHookScreenshots_.Add(other.postHookScreenshots_); + if (other.ItemCount != 0L) { + ItemCount = other.ItemCount; + } + preHookScreenshotFiles_.Add(other.preHookScreenshotFiles_); + postHookScreenshotFiles_.Add(other.postHookScreenshotFiles_); + _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: { + SpecHeading = input.ReadString(); + break; + } + case 18: { + items_.AddEntriesFrom(input, _repeated_items_codec); + break; + } + case 24: { + IsTableDriven = input.ReadBool(); + break; + } + case 34: { + preHookFailures_.AddEntriesFrom(input, _repeated_preHookFailures_codec); + break; + } + case 42: { + postHookFailures_.AddEntriesFrom(input, _repeated_postHookFailures_codec); + break; + } + case 50: { + FileName = input.ReadString(); + break; + } + case 58: { + tags_.AddEntriesFrom(input, _repeated_tags_codec); + break; + } + case 66: { + preHookMessages_.AddEntriesFrom(input, _repeated_preHookMessages_codec); + break; + } + case 74: { + postHookMessages_.AddEntriesFrom(input, _repeated_postHookMessages_codec); + break; + } + case 82: { + preHookMessage_.AddEntriesFrom(input, _repeated_preHookMessage_codec); + break; + } + case 90: { + postHookMessage_.AddEntriesFrom(input, _repeated_postHookMessage_codec); + break; + } + case 98: { + preHookScreenshots_.AddEntriesFrom(input, _repeated_preHookScreenshots_codec); + break; + } + case 106: { + postHookScreenshots_.AddEntriesFrom(input, _repeated_postHookScreenshots_codec); + break; + } + case 112: { + ItemCount = input.ReadInt64(); + break; + } + case 122: { + preHookScreenshotFiles_.AddEntriesFrom(input, _repeated_preHookScreenshotFiles_codec); + break; + } + case 130: { + postHookScreenshotFiles_.AddEntriesFrom(input, _repeated_postHookScreenshotFiles_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: { + SpecHeading = input.ReadString(); + break; + } + case 18: { + items_.AddEntriesFrom(ref input, _repeated_items_codec); + break; + } + case 24: { + IsTableDriven = input.ReadBool(); + break; + } + case 34: { + preHookFailures_.AddEntriesFrom(ref input, _repeated_preHookFailures_codec); + break; + } + case 42: { + postHookFailures_.AddEntriesFrom(ref input, _repeated_postHookFailures_codec); + break; + } + case 50: { + FileName = input.ReadString(); + break; + } + case 58: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + case 66: { + preHookMessages_.AddEntriesFrom(ref input, _repeated_preHookMessages_codec); + break; + } + case 74: { + postHookMessages_.AddEntriesFrom(ref input, _repeated_postHookMessages_codec); + break; + } + case 82: { + preHookMessage_.AddEntriesFrom(ref input, _repeated_preHookMessage_codec); + break; + } + case 90: { + postHookMessage_.AddEntriesFrom(ref input, _repeated_postHookMessage_codec); + break; + } + case 98: { + preHookScreenshots_.AddEntriesFrom(ref input, _repeated_preHookScreenshots_codec); + break; + } + case 106: { + postHookScreenshots_.AddEntriesFrom(ref input, _repeated_postHookScreenshots_codec); + break; + } + case 112: { + ItemCount = input.ReadInt64(); + break; + } + case 122: { + preHookScreenshotFiles_.AddEntriesFrom(ref input, _repeated_preHookScreenshotFiles_codec); + break; + } + case 130: { + postHookScreenshotFiles_.AddEntriesFrom(ref input, _repeated_postHookScreenshotFiles_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Container for all valid Items under a Specification. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoItem : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoItem()); + 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.SpecReflection.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 ProtoItem() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoItem(ProtoItem other) : this() { + itemType_ = other.itemType_; + step_ = other.step_ != null ? other.step_.Clone() : null; + concept_ = other.concept_ != null ? other.concept_.Clone() : null; + scenario_ = other.scenario_ != null ? other.scenario_.Clone() : null; + tableDrivenScenario_ = other.tableDrivenScenario_ != null ? other.tableDrivenScenario_.Clone() : null; + comment_ = other.comment_ != null ? other.comment_.Clone() : null; + table_ = other.table_ != null ? other.table_.Clone() : null; + tags_ = other.tags_ != null ? other.tags_.Clone() : null; + fileName_ = other.fileName_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoItem Clone() { + return new ProtoItem(this); + } + + /// Field number for the "itemType" field. + public const int ItemTypeFieldNumber = 1; + private global::Gauge.Messages.ProtoItem.Types.ItemType itemType_ = global::Gauge.Messages.ProtoItem.Types.ItemType.Step; + /// + //// Itemtype of the current ProtoItem + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoItem.Types.ItemType ItemType { + get { return itemType_; } + set { + itemType_ = value; + } + } + + /// Field number for the "step" field. + public const int StepFieldNumber = 2; + private global::Gauge.Messages.ProtoStep step_; + /// + //// Holds the Step definition. Valid only if ItemType = Step + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoStep Step { + get { return step_; } + set { + step_ = value; + } + } + + /// Field number for the "concept" field. + public const int ConceptFieldNumber = 3; + private global::Gauge.Messages.ProtoConcept concept_; + /// + //// Holds the Concept definition. Valid only if ItemType = Concept + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoConcept Concept { + get { return concept_; } + set { + concept_ = value; + } + } + + /// Field number for the "scenario" field. + public const int ScenarioFieldNumber = 4; + private global::Gauge.Messages.ProtoScenario scenario_; + /// + //// Holds the Scenario definition. Valid only if ItemType = Scenario + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoScenario Scenario { + get { return scenario_; } + set { + scenario_ = value; + } + } + + /// Field number for the "tableDrivenScenario" field. + public const int TableDrivenScenarioFieldNumber = 5; + private global::Gauge.Messages.ProtoTableDrivenScenario tableDrivenScenario_; + /// + //// Holds the TableDrivenScenario definition. Valid only if ItemType = TableDrivenScenario + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoTableDrivenScenario TableDrivenScenario { + get { return tableDrivenScenario_; } + set { + tableDrivenScenario_ = value; + } + } + + /// Field number for the "comment" field. + public const int CommentFieldNumber = 6; + private global::Gauge.Messages.ProtoComment comment_; + /// + //// Holds the Comment definition. Valid only if ItemType = Comment + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoComment Comment { + get { return comment_; } + set { + comment_ = value; + } + } + + /// Field number for the "table" field. + public const int TableFieldNumber = 7; + private global::Gauge.Messages.ProtoTable table_; + /// + //// Holds the Table definition. Valid only if ItemType = Table + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoTable Table { + get { return table_; } + set { + table_ = value; + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 8; + private global::Gauge.Messages.ProtoTags tags_; + /// + //// Holds the Tags definition. Valid only if ItemType = Tags + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoTags Tags { + get { return tags_; } + set { + tags_ = value; + } + } + + /// Field number for the "fileName" field. + public const int FileNameFieldNumber = 9; + private string fileName_ = ""; + /// + //// Holds the Filename that the item belongs to + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FileName { + get { return fileName_; } + set { + fileName_ = 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 ProtoItem); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoItem other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ItemType != other.ItemType) return false; + if (!object.Equals(Step, other.Step)) return false; + if (!object.Equals(Concept, other.Concept)) return false; + if (!object.Equals(Scenario, other.Scenario)) return false; + if (!object.Equals(TableDrivenScenario, other.TableDrivenScenario)) return false; + if (!object.Equals(Comment, other.Comment)) return false; + if (!object.Equals(Table, other.Table)) return false; + if (!object.Equals(Tags, other.Tags)) return false; + if (FileName != other.FileName) 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 (ItemType != global::Gauge.Messages.ProtoItem.Types.ItemType.Step) hash ^= ItemType.GetHashCode(); + if (step_ != null) hash ^= Step.GetHashCode(); + if (concept_ != null) hash ^= Concept.GetHashCode(); + if (scenario_ != null) hash ^= Scenario.GetHashCode(); + if (tableDrivenScenario_ != null) hash ^= TableDrivenScenario.GetHashCode(); + if (comment_ != null) hash ^= Comment.GetHashCode(); + if (table_ != null) hash ^= Table.GetHashCode(); + if (tags_ != null) hash ^= Tags.GetHashCode(); + if (FileName.Length != 0) hash ^= FileName.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 (ItemType != global::Gauge.Messages.ProtoItem.Types.ItemType.Step) { + output.WriteRawTag(8); + output.WriteEnum((int) ItemType); + } + if (step_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Step); + } + if (concept_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Concept); + } + if (scenario_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Scenario); + } + if (tableDrivenScenario_ != null) { + output.WriteRawTag(42); + output.WriteMessage(TableDrivenScenario); + } + if (comment_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Comment); + } + if (table_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Table); + } + if (tags_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Tags); + } + if (FileName.Length != 0) { + output.WriteRawTag(74); + output.WriteString(FileName); + } + 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 (ItemType != global::Gauge.Messages.ProtoItem.Types.ItemType.Step) { + output.WriteRawTag(8); + output.WriteEnum((int) ItemType); + } + if (step_ != null) { + output.WriteRawTag(18); + output.WriteMessage(Step); + } + if (concept_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Concept); + } + if (scenario_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Scenario); + } + if (tableDrivenScenario_ != null) { + output.WriteRawTag(42); + output.WriteMessage(TableDrivenScenario); + } + if (comment_ != null) { + output.WriteRawTag(50); + output.WriteMessage(Comment); + } + if (table_ != null) { + output.WriteRawTag(58); + output.WriteMessage(Table); + } + if (tags_ != null) { + output.WriteRawTag(66); + output.WriteMessage(Tags); + } + if (FileName.Length != 0) { + output.WriteRawTag(74); + output.WriteString(FileName); + } + 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 (ItemType != global::Gauge.Messages.ProtoItem.Types.ItemType.Step) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ItemType); + } + if (step_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Step); + } + if (concept_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Concept); + } + if (scenario_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Scenario); + } + if (tableDrivenScenario_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(TableDrivenScenario); + } + if (comment_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Comment); + } + if (table_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Table); + } + if (tags_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Tags); + } + if (FileName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FileName); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoItem other) { + if (other == null) { + return; + } + if (other.ItemType != global::Gauge.Messages.ProtoItem.Types.ItemType.Step) { + ItemType = other.ItemType; + } + if (other.step_ != null) { + if (step_ == null) { + Step = new global::Gauge.Messages.ProtoStep(); + } + Step.MergeFrom(other.Step); + } + if (other.concept_ != null) { + if (concept_ == null) { + Concept = new global::Gauge.Messages.ProtoConcept(); + } + Concept.MergeFrom(other.Concept); + } + if (other.scenario_ != null) { + if (scenario_ == null) { + Scenario = new global::Gauge.Messages.ProtoScenario(); + } + Scenario.MergeFrom(other.Scenario); + } + if (other.tableDrivenScenario_ != null) { + if (tableDrivenScenario_ == null) { + TableDrivenScenario = new global::Gauge.Messages.ProtoTableDrivenScenario(); + } + TableDrivenScenario.MergeFrom(other.TableDrivenScenario); + } + if (other.comment_ != null) { + if (comment_ == null) { + Comment = new global::Gauge.Messages.ProtoComment(); + } + Comment.MergeFrom(other.Comment); + } + if (other.table_ != null) { + if (table_ == null) { + Table = new global::Gauge.Messages.ProtoTable(); + } + Table.MergeFrom(other.Table); + } + if (other.tags_ != null) { + if (tags_ == null) { + Tags = new global::Gauge.Messages.ProtoTags(); + } + Tags.MergeFrom(other.Tags); + } + if (other.FileName.Length != 0) { + FileName = other.FileName; + } + _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: { + ItemType = (global::Gauge.Messages.ProtoItem.Types.ItemType) input.ReadEnum(); + break; + } + case 18: { + if (step_ == null) { + Step = new global::Gauge.Messages.ProtoStep(); + } + input.ReadMessage(Step); + break; + } + case 26: { + if (concept_ == null) { + Concept = new global::Gauge.Messages.ProtoConcept(); + } + input.ReadMessage(Concept); + break; + } + case 34: { + if (scenario_ == null) { + Scenario = new global::Gauge.Messages.ProtoScenario(); + } + input.ReadMessage(Scenario); + break; + } + case 42: { + if (tableDrivenScenario_ == null) { + TableDrivenScenario = new global::Gauge.Messages.ProtoTableDrivenScenario(); + } + input.ReadMessage(TableDrivenScenario); + break; + } + case 50: { + if (comment_ == null) { + Comment = new global::Gauge.Messages.ProtoComment(); + } + input.ReadMessage(Comment); + break; + } + case 58: { + if (table_ == null) { + Table = new global::Gauge.Messages.ProtoTable(); + } + input.ReadMessage(Table); + break; + } + case 66: { + if (tags_ == null) { + Tags = new global::Gauge.Messages.ProtoTags(); + } + input.ReadMessage(Tags); + break; + } + case 74: { + FileName = 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 8: { + ItemType = (global::Gauge.Messages.ProtoItem.Types.ItemType) input.ReadEnum(); + break; + } + case 18: { + if (step_ == null) { + Step = new global::Gauge.Messages.ProtoStep(); + } + input.ReadMessage(Step); + break; + } + case 26: { + if (concept_ == null) { + Concept = new global::Gauge.Messages.ProtoConcept(); + } + input.ReadMessage(Concept); + break; + } + case 34: { + if (scenario_ == null) { + Scenario = new global::Gauge.Messages.ProtoScenario(); + } + input.ReadMessage(Scenario); + break; + } + case 42: { + if (tableDrivenScenario_ == null) { + TableDrivenScenario = new global::Gauge.Messages.ProtoTableDrivenScenario(); + } + input.ReadMessage(TableDrivenScenario); + break; + } + case 50: { + if (comment_ == null) { + Comment = new global::Gauge.Messages.ProtoComment(); + } + input.ReadMessage(Comment); + break; + } + case 58: { + if (table_ == null) { + Table = new global::Gauge.Messages.ProtoTable(); + } + input.ReadMessage(Table); + break; + } + case 66: { + if (tags_ == null) { + Tags = new global::Gauge.Messages.ProtoTags(); + } + input.ReadMessage(Tags); + break; + } + case 74: { + FileName = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ProtoItem message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + //// Enumerates various item types that the proto item can contain. Valid types are: Step, Comment, Concept, Scenario, TableDrivenScenario, Table, Tags + /// + public enum ItemType { + /// + /// Item is a Step + /// + [pbr::OriginalName("Step")] Step = 0, + /// + /// Item is a Comment + /// + [pbr::OriginalName("Comment")] Comment = 1, + /// + /// Item is a Concept + /// + [pbr::OriginalName("Concept")] Concept = 2, + /// + /// Item is a Scenario + /// + [pbr::OriginalName("Scenario")] Scenario = 3, + /// + /// Item is a TableDrivenScenario, a special case of Scenario, where there is a Context Step defining a table. + /// + [pbr::OriginalName("TableDrivenScenario")] TableDrivenScenario = 4, + /// + /// Item is a Table + /// + [pbr::OriginalName("Table")] Table = 5, + /// + /// Item is a Tag + /// + [pbr::OriginalName("Tags")] Tags = 6, + } + + } + #endregion + + } + + /// + //// A proto object representing a Scenario + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoScenario : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoScenario()); + 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.SpecReflection.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 ProtoScenario() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoScenario(ProtoScenario other) : this() { + scenarioHeading_ = other.scenarioHeading_; + failed_ = other.failed_; + contexts_ = other.contexts_.Clone(); + scenarioItems_ = other.scenarioItems_.Clone(); + preHookFailure_ = other.preHookFailure_ != null ? other.preHookFailure_.Clone() : null; + postHookFailure_ = other.postHookFailure_ != null ? other.postHookFailure_.Clone() : null; + tags_ = other.tags_.Clone(); + executionTime_ = other.executionTime_; + skipped_ = other.skipped_; + skipErrors_ = other.skipErrors_.Clone(); + iD_ = other.iD_; + tearDownSteps_ = other.tearDownSteps_.Clone(); + span_ = other.span_ != null ? other.span_.Clone() : null; + executionStatus_ = other.executionStatus_; + preHookMessages_ = other.preHookMessages_.Clone(); + postHookMessages_ = other.postHookMessages_.Clone(); + preHookMessage_ = other.preHookMessage_.Clone(); + postHookMessage_ = other.postHookMessage_.Clone(); + preHookScreenshots_ = other.preHookScreenshots_.Clone(); + postHookScreenshots_ = other.postHookScreenshots_.Clone(); + preHookScreenshotFiles_ = other.preHookScreenshotFiles_.Clone(); + postHookScreenshotFiles_ = other.postHookScreenshotFiles_.Clone(); + retriesCount_ = other.retriesCount_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoScenario Clone() { + return new ProtoScenario(this); + } + + /// Field number for the "scenarioHeading" field. + public const int ScenarioHeadingFieldNumber = 1; + private string scenarioHeading_ = ""; + /// + //// Heading of the given Scenario + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ScenarioHeading { + get { return scenarioHeading_; } + set { + scenarioHeading_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "failed" field. + public const int FailedFieldNumber = 2; + private bool failed_; + /// + //// Flag to indicate if the Scenario execution failed + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Failed { + get { return failed_; } + set { + failed_ = value; + } + } + + /// Field number for the "contexts" field. + public const int ContextsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_contexts_codec + = pb::FieldCodec.ForMessage(26, global::Gauge.Messages.ProtoItem.Parser); + private readonly pbc::RepeatedField contexts_ = new pbc::RepeatedField(); + /// + //// Collection of Context steps. The Context steps are executed before every run. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Contexts { + get { return contexts_; } + } + + /// Field number for the "scenarioItems" field. + public const int ScenarioItemsFieldNumber = 4; + private static readonly pb::FieldCodec _repeated_scenarioItems_codec + = pb::FieldCodec.ForMessage(34, global::Gauge.Messages.ProtoItem.Parser); + private readonly pbc::RepeatedField scenarioItems_ = new pbc::RepeatedField(); + /// + //// Collection of Items under a scenario. These could be Steps, Comments, Tags, TableDrivenScenarios or Tables + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ScenarioItems { + get { return scenarioItems_; } + } + + /// Field number for the "preHookFailure" field. + public const int PreHookFailureFieldNumber = 5; + private global::Gauge.Messages.ProtoHookFailure preHookFailure_; + /// + //// Contains a 'before' hook failure message. This happens when the `before_scenario` hook has an error. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoHookFailure PreHookFailure { + get { return preHookFailure_; } + set { + preHookFailure_ = value; + } + } + + /// Field number for the "postHookFailure" field. + public const int PostHookFailureFieldNumber = 6; + private global::Gauge.Messages.ProtoHookFailure postHookFailure_; + /// + //// Contains a 'after' hook failure message. This happens when the `after_scenario` hook has an error. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoHookFailure PostHookFailure { + get { return postHookFailure_; } + set { + postHookFailure_ = value; + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_tags_codec + = pb::FieldCodec.ForString(58); + private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); + /// + //// Contains a list of tags that are defined at the specification level. Scenario tags are not present here. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tags { + get { return tags_; } + } + + /// Field number for the "executionTime" field. + public const int ExecutionTimeFieldNumber = 8; + private long executionTime_; + /// + //// Holds the time taken for executing this scenario. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ExecutionTime { + get { return executionTime_; } + set { + executionTime_ = value; + } + } + + /// Field number for the "skipped" field. + public const int SkippedFieldNumber = 9; + private bool skipped_; + /// + //// Flag to indicate if the Scenario execution is skipped + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Skipped { + get { return skipped_; } + set { + skipped_ = value; + } + } + + /// Field number for the "skipErrors" field. + public const int SkipErrorsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_skipErrors_codec + = pb::FieldCodec.ForString(82); + private readonly pbc::RepeatedField skipErrors_ = new pbc::RepeatedField(); + /// + //// Holds the error messages for skipping scenario from execution + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SkipErrors { + get { return skipErrors_; } + } + + /// Field number for the "ID" field. + public const int IDFieldNumber = 11; + private string iD_ = ""; + /// + //// Holds the unique Identifier of a scenario. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ID { + get { return iD_; } + set { + iD_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "tearDownSteps" field. + public const int TearDownStepsFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_tearDownSteps_codec + = pb::FieldCodec.ForMessage(98, global::Gauge.Messages.ProtoItem.Parser); + private readonly pbc::RepeatedField tearDownSteps_ = new pbc::RepeatedField(); + /// + //// Collection of Teardown steps. The Teardown steps are executed after every run. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField TearDownSteps { + get { return tearDownSteps_; } + } + + /// Field number for the "span" field. + public const int SpanFieldNumber = 13; + private global::Gauge.Messages.Span span_; + /// + //// Span(start, end) of scenario + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.Span Span { + get { return span_; } + set { + span_ = value; + } + } + + /// Field number for the "executionStatus" field. + public const int ExecutionStatusFieldNumber = 14; + private global::Gauge.Messages.ExecutionStatus executionStatus_ = global::Gauge.Messages.ExecutionStatus.Notexecuted; + /// + //// Execution status for the scenario + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ExecutionStatus ExecutionStatus { + get { return executionStatus_; } + set { + executionStatus_ = value; + } + } + + /// Field number for the "preHookMessages" field. + public const int PreHookMessagesFieldNumber = 15; + private static readonly pb::FieldCodec _repeated_preHookMessages_codec + = pb::FieldCodec.ForString(122); + private readonly pbc::RepeatedField preHookMessages_ = new pbc::RepeatedField(); + /// + //// Additional information at pre hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookMessages { + get { return preHookMessages_; } + } + + /// Field number for the "postHookMessages" field. + public const int PostHookMessagesFieldNumber = 16; + private static readonly pb::FieldCodec _repeated_postHookMessages_codec + = pb::FieldCodec.ForString(130); + private readonly pbc::RepeatedField postHookMessages_ = new pbc::RepeatedField(); + /// + //// Additional information at post hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookMessages { + get { return postHookMessages_; } + } + + /// Field number for the "preHookMessage" field. + public const int PreHookMessageFieldNumber = 17; + private static readonly pb::FieldCodec _repeated_preHookMessage_codec + = pb::FieldCodec.ForString(138); + private readonly pbc::RepeatedField preHookMessage_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookMessage { + get { return preHookMessage_; } + } + + /// Field number for the "postHookMessage" field. + public const int PostHookMessageFieldNumber = 18; + private static readonly pb::FieldCodec _repeated_postHookMessage_codec + = pb::FieldCodec.ForString(146); + private readonly pbc::RepeatedField postHookMessage_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookMessage { + get { return postHookMessage_; } + } + + /// Field number for the "preHookScreenshots" field. + public const int PreHookScreenshotsFieldNumber = 19; + private static readonly pb::FieldCodec _repeated_preHookScreenshots_codec + = pb::FieldCodec.ForBytes(154); + private readonly pbc::RepeatedField preHookScreenshots_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookScreenshots { + get { return preHookScreenshots_; } + } + + /// Field number for the "postHookScreenshots" field. + public const int PostHookScreenshotsFieldNumber = 20; + private static readonly pb::FieldCodec _repeated_postHookScreenshots_codec + = pb::FieldCodec.ForBytes(162); + private readonly pbc::RepeatedField postHookScreenshots_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookScreenshots { + get { return postHookScreenshots_; } + } + + /// Field number for the "preHookScreenshotFiles" field. + public const int PreHookScreenshotFilesFieldNumber = 21; + private static readonly pb::FieldCodec _repeated_preHookScreenshotFiles_codec + = pb::FieldCodec.ForString(170); + private readonly pbc::RepeatedField preHookScreenshotFiles_ = new pbc::RepeatedField(); + /// + //// Screenshots captured on pre hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookScreenshotFiles { + get { return preHookScreenshotFiles_; } + } + + /// Field number for the "postHookScreenshotFiles" field. + public const int PostHookScreenshotFilesFieldNumber = 22; + private static readonly pb::FieldCodec _repeated_postHookScreenshotFiles_codec + = pb::FieldCodec.ForString(178); + private readonly pbc::RepeatedField postHookScreenshotFiles_ = new pbc::RepeatedField(); + /// + //// Screenshots captured on post hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookScreenshotFiles { + get { return postHookScreenshotFiles_; } + } + + /// Field number for the "retriesCount" field. + public const int RetriesCountFieldNumber = 23; + private long retriesCount_; + /// + //// Number of retires + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RetriesCount { + get { return retriesCount_; } + set { + retriesCount_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoScenario); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoScenario other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ScenarioHeading != other.ScenarioHeading) return false; + if (Failed != other.Failed) return false; + if(!contexts_.Equals(other.contexts_)) return false; + if(!scenarioItems_.Equals(other.scenarioItems_)) return false; + if (!object.Equals(PreHookFailure, other.PreHookFailure)) return false; + if (!object.Equals(PostHookFailure, other.PostHookFailure)) return false; + if(!tags_.Equals(other.tags_)) return false; + if (ExecutionTime != other.ExecutionTime) return false; + if (Skipped != other.Skipped) return false; + if(!skipErrors_.Equals(other.skipErrors_)) return false; + if (ID != other.ID) return false; + if(!tearDownSteps_.Equals(other.tearDownSteps_)) return false; + if (!object.Equals(Span, other.Span)) return false; + if (ExecutionStatus != other.ExecutionStatus) return false; + if(!preHookMessages_.Equals(other.preHookMessages_)) return false; + if(!postHookMessages_.Equals(other.postHookMessages_)) return false; + if(!preHookMessage_.Equals(other.preHookMessage_)) return false; + if(!postHookMessage_.Equals(other.postHookMessage_)) return false; + if(!preHookScreenshots_.Equals(other.preHookScreenshots_)) return false; + if(!postHookScreenshots_.Equals(other.postHookScreenshots_)) return false; + if(!preHookScreenshotFiles_.Equals(other.preHookScreenshotFiles_)) return false; + if(!postHookScreenshotFiles_.Equals(other.postHookScreenshotFiles_)) return false; + if (RetriesCount != other.RetriesCount) 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 (ScenarioHeading.Length != 0) hash ^= ScenarioHeading.GetHashCode(); + if (Failed != false) hash ^= Failed.GetHashCode(); + hash ^= contexts_.GetHashCode(); + hash ^= scenarioItems_.GetHashCode(); + if (preHookFailure_ != null) hash ^= PreHookFailure.GetHashCode(); + if (postHookFailure_ != null) hash ^= PostHookFailure.GetHashCode(); + hash ^= tags_.GetHashCode(); + if (ExecutionTime != 0L) hash ^= ExecutionTime.GetHashCode(); + if (Skipped != false) hash ^= Skipped.GetHashCode(); + hash ^= skipErrors_.GetHashCode(); + if (ID.Length != 0) hash ^= ID.GetHashCode(); + hash ^= tearDownSteps_.GetHashCode(); + if (span_ != null) hash ^= Span.GetHashCode(); + if (ExecutionStatus != global::Gauge.Messages.ExecutionStatus.Notexecuted) hash ^= ExecutionStatus.GetHashCode(); + hash ^= preHookMessages_.GetHashCode(); + hash ^= postHookMessages_.GetHashCode(); + hash ^= preHookMessage_.GetHashCode(); + hash ^= postHookMessage_.GetHashCode(); + hash ^= preHookScreenshots_.GetHashCode(); + hash ^= postHookScreenshots_.GetHashCode(); + hash ^= preHookScreenshotFiles_.GetHashCode(); + hash ^= postHookScreenshotFiles_.GetHashCode(); + if (RetriesCount != 0L) hash ^= RetriesCount.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 (ScenarioHeading.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ScenarioHeading); + } + if (Failed != false) { + output.WriteRawTag(16); + output.WriteBool(Failed); + } + contexts_.WriteTo(output, _repeated_contexts_codec); + scenarioItems_.WriteTo(output, _repeated_scenarioItems_codec); + if (preHookFailure_ != null) { + output.WriteRawTag(42); + output.WriteMessage(PreHookFailure); + } + if (postHookFailure_ != null) { + output.WriteRawTag(50); + output.WriteMessage(PostHookFailure); + } + tags_.WriteTo(output, _repeated_tags_codec); + if (ExecutionTime != 0L) { + output.WriteRawTag(64); + output.WriteInt64(ExecutionTime); + } + if (Skipped != false) { + output.WriteRawTag(72); + output.WriteBool(Skipped); + } + skipErrors_.WriteTo(output, _repeated_skipErrors_codec); + if (ID.Length != 0) { + output.WriteRawTag(90); + output.WriteString(ID); + } + tearDownSteps_.WriteTo(output, _repeated_tearDownSteps_codec); + if (span_ != null) { + output.WriteRawTag(106); + output.WriteMessage(Span); + } + if (ExecutionStatus != global::Gauge.Messages.ExecutionStatus.Notexecuted) { + output.WriteRawTag(112); + output.WriteEnum((int) ExecutionStatus); + } + preHookMessages_.WriteTo(output, _repeated_preHookMessages_codec); + postHookMessages_.WriteTo(output, _repeated_postHookMessages_codec); + preHookMessage_.WriteTo(output, _repeated_preHookMessage_codec); + postHookMessage_.WriteTo(output, _repeated_postHookMessage_codec); + preHookScreenshots_.WriteTo(output, _repeated_preHookScreenshots_codec); + postHookScreenshots_.WriteTo(output, _repeated_postHookScreenshots_codec); + preHookScreenshotFiles_.WriteTo(output, _repeated_preHookScreenshotFiles_codec); + postHookScreenshotFiles_.WriteTo(output, _repeated_postHookScreenshotFiles_codec); + if (RetriesCount != 0L) { + output.WriteRawTag(184, 1); + output.WriteInt64(RetriesCount); + } + 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 (ScenarioHeading.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ScenarioHeading); + } + if (Failed != false) { + output.WriteRawTag(16); + output.WriteBool(Failed); + } + contexts_.WriteTo(ref output, _repeated_contexts_codec); + scenarioItems_.WriteTo(ref output, _repeated_scenarioItems_codec); + if (preHookFailure_ != null) { + output.WriteRawTag(42); + output.WriteMessage(PreHookFailure); + } + if (postHookFailure_ != null) { + output.WriteRawTag(50); + output.WriteMessage(PostHookFailure); + } + tags_.WriteTo(ref output, _repeated_tags_codec); + if (ExecutionTime != 0L) { + output.WriteRawTag(64); + output.WriteInt64(ExecutionTime); + } + if (Skipped != false) { + output.WriteRawTag(72); + output.WriteBool(Skipped); + } + skipErrors_.WriteTo(ref output, _repeated_skipErrors_codec); + if (ID.Length != 0) { + output.WriteRawTag(90); + output.WriteString(ID); + } + tearDownSteps_.WriteTo(ref output, _repeated_tearDownSteps_codec); + if (span_ != null) { + output.WriteRawTag(106); + output.WriteMessage(Span); + } + if (ExecutionStatus != global::Gauge.Messages.ExecutionStatus.Notexecuted) { + output.WriteRawTag(112); + output.WriteEnum((int) ExecutionStatus); + } + preHookMessages_.WriteTo(ref output, _repeated_preHookMessages_codec); + postHookMessages_.WriteTo(ref output, _repeated_postHookMessages_codec); + preHookMessage_.WriteTo(ref output, _repeated_preHookMessage_codec); + postHookMessage_.WriteTo(ref output, _repeated_postHookMessage_codec); + preHookScreenshots_.WriteTo(ref output, _repeated_preHookScreenshots_codec); + postHookScreenshots_.WriteTo(ref output, _repeated_postHookScreenshots_codec); + preHookScreenshotFiles_.WriteTo(ref output, _repeated_preHookScreenshotFiles_codec); + postHookScreenshotFiles_.WriteTo(ref output, _repeated_postHookScreenshotFiles_codec); + if (RetriesCount != 0L) { + output.WriteRawTag(184, 1); + output.WriteInt64(RetriesCount); + } + 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 (ScenarioHeading.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ScenarioHeading); + } + if (Failed != false) { + size += 1 + 1; + } + size += contexts_.CalculateSize(_repeated_contexts_codec); + size += scenarioItems_.CalculateSize(_repeated_scenarioItems_codec); + if (preHookFailure_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PreHookFailure); + } + if (postHookFailure_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PostHookFailure); + } + size += tags_.CalculateSize(_repeated_tags_codec); + if (ExecutionTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExecutionTime); + } + if (Skipped != false) { + size += 1 + 1; + } + size += skipErrors_.CalculateSize(_repeated_skipErrors_codec); + if (ID.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ID); + } + size += tearDownSteps_.CalculateSize(_repeated_tearDownSteps_codec); + if (span_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Span); + } + if (ExecutionStatus != global::Gauge.Messages.ExecutionStatus.Notexecuted) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ExecutionStatus); + } + size += preHookMessages_.CalculateSize(_repeated_preHookMessages_codec); + size += postHookMessages_.CalculateSize(_repeated_postHookMessages_codec); + size += preHookMessage_.CalculateSize(_repeated_preHookMessage_codec); + size += postHookMessage_.CalculateSize(_repeated_postHookMessage_codec); + size += preHookScreenshots_.CalculateSize(_repeated_preHookScreenshots_codec); + size += postHookScreenshots_.CalculateSize(_repeated_postHookScreenshots_codec); + size += preHookScreenshotFiles_.CalculateSize(_repeated_preHookScreenshotFiles_codec); + size += postHookScreenshotFiles_.CalculateSize(_repeated_postHookScreenshotFiles_codec); + if (RetriesCount != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(RetriesCount); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoScenario other) { + if (other == null) { + return; + } + if (other.ScenarioHeading.Length != 0) { + ScenarioHeading = other.ScenarioHeading; + } + if (other.Failed != false) { + Failed = other.Failed; + } + contexts_.Add(other.contexts_); + scenarioItems_.Add(other.scenarioItems_); + if (other.preHookFailure_ != null) { + if (preHookFailure_ == null) { + PreHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + PreHookFailure.MergeFrom(other.PreHookFailure); + } + if (other.postHookFailure_ != null) { + if (postHookFailure_ == null) { + PostHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + PostHookFailure.MergeFrom(other.PostHookFailure); + } + tags_.Add(other.tags_); + if (other.ExecutionTime != 0L) { + ExecutionTime = other.ExecutionTime; + } + if (other.Skipped != false) { + Skipped = other.Skipped; + } + skipErrors_.Add(other.skipErrors_); + if (other.ID.Length != 0) { + ID = other.ID; + } + tearDownSteps_.Add(other.tearDownSteps_); + if (other.span_ != null) { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + Span.MergeFrom(other.Span); + } + if (other.ExecutionStatus != global::Gauge.Messages.ExecutionStatus.Notexecuted) { + ExecutionStatus = other.ExecutionStatus; + } + preHookMessages_.Add(other.preHookMessages_); + postHookMessages_.Add(other.postHookMessages_); + preHookMessage_.Add(other.preHookMessage_); + postHookMessage_.Add(other.postHookMessage_); + preHookScreenshots_.Add(other.preHookScreenshots_); + postHookScreenshots_.Add(other.postHookScreenshots_); + preHookScreenshotFiles_.Add(other.preHookScreenshotFiles_); + postHookScreenshotFiles_.Add(other.postHookScreenshotFiles_); + if (other.RetriesCount != 0L) { + RetriesCount = other.RetriesCount; + } + _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: { + ScenarioHeading = input.ReadString(); + break; + } + case 16: { + Failed = input.ReadBool(); + break; + } + case 26: { + contexts_.AddEntriesFrom(input, _repeated_contexts_codec); + break; + } + case 34: { + scenarioItems_.AddEntriesFrom(input, _repeated_scenarioItems_codec); + break; + } + case 42: { + if (preHookFailure_ == null) { + PreHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PreHookFailure); + break; + } + case 50: { + if (postHookFailure_ == null) { + PostHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PostHookFailure); + break; + } + case 58: { + tags_.AddEntriesFrom(input, _repeated_tags_codec); + break; + } + case 64: { + ExecutionTime = input.ReadInt64(); + break; + } + case 72: { + Skipped = input.ReadBool(); + break; + } + case 82: { + skipErrors_.AddEntriesFrom(input, _repeated_skipErrors_codec); + break; + } + case 90: { + ID = input.ReadString(); + break; + } + case 98: { + tearDownSteps_.AddEntriesFrom(input, _repeated_tearDownSteps_codec); + break; + } + case 106: { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + input.ReadMessage(Span); + break; + } + case 112: { + ExecutionStatus = (global::Gauge.Messages.ExecutionStatus) input.ReadEnum(); + break; + } + case 122: { + preHookMessages_.AddEntriesFrom(input, _repeated_preHookMessages_codec); + break; + } + case 130: { + postHookMessages_.AddEntriesFrom(input, _repeated_postHookMessages_codec); + break; + } + case 138: { + preHookMessage_.AddEntriesFrom(input, _repeated_preHookMessage_codec); + break; + } + case 146: { + postHookMessage_.AddEntriesFrom(input, _repeated_postHookMessage_codec); + break; + } + case 154: { + preHookScreenshots_.AddEntriesFrom(input, _repeated_preHookScreenshots_codec); + break; + } + case 162: { + postHookScreenshots_.AddEntriesFrom(input, _repeated_postHookScreenshots_codec); + break; + } + case 170: { + preHookScreenshotFiles_.AddEntriesFrom(input, _repeated_preHookScreenshotFiles_codec); + break; + } + case 178: { + postHookScreenshotFiles_.AddEntriesFrom(input, _repeated_postHookScreenshotFiles_codec); + break; + } + case 184: { + RetriesCount = input.ReadInt64(); + 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: { + ScenarioHeading = input.ReadString(); + break; + } + case 16: { + Failed = input.ReadBool(); + break; + } + case 26: { + contexts_.AddEntriesFrom(ref input, _repeated_contexts_codec); + break; + } + case 34: { + scenarioItems_.AddEntriesFrom(ref input, _repeated_scenarioItems_codec); + break; + } + case 42: { + if (preHookFailure_ == null) { + PreHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PreHookFailure); + break; + } + case 50: { + if (postHookFailure_ == null) { + PostHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PostHookFailure); + break; + } + case 58: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + case 64: { + ExecutionTime = input.ReadInt64(); + break; + } + case 72: { + Skipped = input.ReadBool(); + break; + } + case 82: { + skipErrors_.AddEntriesFrom(ref input, _repeated_skipErrors_codec); + break; + } + case 90: { + ID = input.ReadString(); + break; + } + case 98: { + tearDownSteps_.AddEntriesFrom(ref input, _repeated_tearDownSteps_codec); + break; + } + case 106: { + if (span_ == null) { + Span = new global::Gauge.Messages.Span(); + } + input.ReadMessage(Span); + break; + } + case 112: { + ExecutionStatus = (global::Gauge.Messages.ExecutionStatus) input.ReadEnum(); + break; + } + case 122: { + preHookMessages_.AddEntriesFrom(ref input, _repeated_preHookMessages_codec); + break; + } + case 130: { + postHookMessages_.AddEntriesFrom(ref input, _repeated_postHookMessages_codec); + break; + } + case 138: { + preHookMessage_.AddEntriesFrom(ref input, _repeated_preHookMessage_codec); + break; + } + case 146: { + postHookMessage_.AddEntriesFrom(ref input, _repeated_postHookMessage_codec); + break; + } + case 154: { + preHookScreenshots_.AddEntriesFrom(ref input, _repeated_preHookScreenshots_codec); + break; + } + case 162: { + postHookScreenshots_.AddEntriesFrom(ref input, _repeated_postHookScreenshots_codec); + break; + } + case 170: { + preHookScreenshotFiles_.AddEntriesFrom(ref input, _repeated_preHookScreenshotFiles_codec); + break; + } + case 178: { + postHookScreenshotFiles_.AddEntriesFrom(ref input, _repeated_postHookScreenshotFiles_codec); + break; + } + case 184: { + RetriesCount = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing a Span of content + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Span : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Span()); + 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.SpecReflection.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 Span() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Span(Span other) : this() { + start_ = other.start_; + end_ = other.end_; + startChar_ = other.startChar_; + endChar_ = other.endChar_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Span Clone() { + return new Span(this); + } + + /// Field number for the "start" field. + public const int StartFieldNumber = 1; + private long start_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Start { + get { return start_; } + set { + start_ = value; + } + } + + /// Field number for the "end" field. + public const int EndFieldNumber = 2; + private long end_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long End { + get { return end_; } + set { + end_ = value; + } + } + + /// Field number for the "startChar" field. + public const int StartCharFieldNumber = 3; + private long startChar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long StartChar { + get { return startChar_; } + set { + startChar_ = value; + } + } + + /// Field number for the "endChar" field. + public const int EndCharFieldNumber = 4; + private long endChar_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long EndChar { + get { return endChar_; } + set { + endChar_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Span); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Span other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Start != other.Start) return false; + if (End != other.End) return false; + if (StartChar != other.StartChar) return false; + if (EndChar != other.EndChar) 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 (Start != 0L) hash ^= Start.GetHashCode(); + if (End != 0L) hash ^= End.GetHashCode(); + if (StartChar != 0L) hash ^= StartChar.GetHashCode(); + if (EndChar != 0L) hash ^= EndChar.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 (Start != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Start); + } + if (End != 0L) { + output.WriteRawTag(16); + output.WriteInt64(End); + } + if (StartChar != 0L) { + output.WriteRawTag(24); + output.WriteInt64(StartChar); + } + if (EndChar != 0L) { + output.WriteRawTag(32); + output.WriteInt64(EndChar); + } + 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 (Start != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Start); + } + if (End != 0L) { + output.WriteRawTag(16); + output.WriteInt64(End); + } + if (StartChar != 0L) { + output.WriteRawTag(24); + output.WriteInt64(StartChar); + } + if (EndChar != 0L) { + output.WriteRawTag(32); + output.WriteInt64(EndChar); + } + 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 (Start != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Start); + } + if (End != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(End); + } + if (StartChar != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartChar); + } + if (EndChar != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndChar); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Span other) { + if (other == null) { + return; + } + if (other.Start != 0L) { + Start = other.Start; + } + if (other.End != 0L) { + End = other.End; + } + if (other.StartChar != 0L) { + StartChar = other.StartChar; + } + if (other.EndChar != 0L) { + EndChar = other.EndChar; + } + _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: { + Start = input.ReadInt64(); + break; + } + case 16: { + End = input.ReadInt64(); + break; + } + case 24: { + StartChar = input.ReadInt64(); + break; + } + case 32: { + EndChar = input.ReadInt64(); + 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: { + Start = input.ReadInt64(); + break; + } + case 16: { + End = input.ReadInt64(); + break; + } + case 24: { + StartChar = input.ReadInt64(); + break; + } + case 32: { + EndChar = input.ReadInt64(); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing a TableDrivenScenario + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoTableDrivenScenario : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableDrivenScenario()); + 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.SpecReflection.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 ProtoTableDrivenScenario() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoTableDrivenScenario(ProtoTableDrivenScenario other) : this() { + scenario_ = other.scenario_ != null ? other.scenario_.Clone() : null; + tableRowIndex_ = other.tableRowIndex_; + scenarioTableRowIndex_ = other.scenarioTableRowIndex_; + isSpecTableDriven_ = other.isSpecTableDriven_; + isScenarioTableDriven_ = other.isScenarioTableDriven_; + scenarioDataTable_ = other.scenarioDataTable_ != null ? other.scenarioDataTable_.Clone() : null; + scenarioTableRow_ = other.scenarioTableRow_ != null ? other.scenarioTableRow_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoTableDrivenScenario Clone() { + return new ProtoTableDrivenScenario(this); + } + + /// Field number for the "scenario" field. + public const int ScenarioFieldNumber = 1; + private global::Gauge.Messages.ProtoScenario scenario_; + /// + //// Scenario under Table driven execution + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoScenario Scenario { + get { return scenario_; } + set { + scenario_ = value; + } + } + + /// Field number for the "tableRowIndex" field. + public const int TableRowIndexFieldNumber = 2; + private int tableRowIndex_; + /// + //// Row Index of data table against which the current scenario is executed + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TableRowIndex { + get { return tableRowIndex_; } + set { + tableRowIndex_ = value; + } + } + + /// Field number for the "scenarioTableRowIndex" field. + public const int ScenarioTableRowIndexFieldNumber = 3; + private int scenarioTableRowIndex_; + /// + //// Row Index of scenario data table against which the current scenario is executed + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ScenarioTableRowIndex { + get { return scenarioTableRowIndex_; } + set { + scenarioTableRowIndex_ = value; + } + } + + /// Field number for the "isSpecTableDriven" field. + public const int IsSpecTableDrivenFieldNumber = 4; + private bool isSpecTableDriven_; + /// + //// Executed against a spec data table + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsSpecTableDriven { + get { return isSpecTableDriven_; } + set { + isSpecTableDriven_ = value; + } + } + + /// Field number for the "isScenarioTableDriven" field. + public const int IsScenarioTableDrivenFieldNumber = 5; + private bool isScenarioTableDriven_; + /// + //// Executed against a scenario data table + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool IsScenarioTableDriven { + get { return isScenarioTableDriven_; } + set { + isScenarioTableDriven_ = value; + } + } + + /// Field number for the "scenarioDataTable" field. + public const int ScenarioDataTableFieldNumber = 6; + private global::Gauge.Messages.ProtoTable scenarioDataTable_; + /// + //// Holds the scenario data table + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoTable ScenarioDataTable { + get { return scenarioDataTable_; } + set { + scenarioDataTable_ = value; + } + } + + /// Field number for the "scenarioTableRow" field. + public const int ScenarioTableRowFieldNumber = 7; + private global::Gauge.Messages.ProtoTable scenarioTableRow_; + /// + //// Hold the row of scenario data table. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoTable ScenarioTableRow { + get { return scenarioTableRow_; } + set { + scenarioTableRow_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoTableDrivenScenario); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoTableDrivenScenario other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Scenario, other.Scenario)) return false; + if (TableRowIndex != other.TableRowIndex) return false; + if (ScenarioTableRowIndex != other.ScenarioTableRowIndex) return false; + if (IsSpecTableDriven != other.IsSpecTableDriven) return false; + if (IsScenarioTableDriven != other.IsScenarioTableDriven) return false; + if (!object.Equals(ScenarioDataTable, other.ScenarioDataTable)) return false; + if (!object.Equals(ScenarioTableRow, other.ScenarioTableRow)) 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 (scenario_ != null) hash ^= Scenario.GetHashCode(); + if (TableRowIndex != 0) hash ^= TableRowIndex.GetHashCode(); + if (ScenarioTableRowIndex != 0) hash ^= ScenarioTableRowIndex.GetHashCode(); + if (IsSpecTableDriven != false) hash ^= IsSpecTableDriven.GetHashCode(); + if (IsScenarioTableDriven != false) hash ^= IsScenarioTableDriven.GetHashCode(); + if (scenarioDataTable_ != null) hash ^= ScenarioDataTable.GetHashCode(); + if (scenarioTableRow_ != null) hash ^= ScenarioTableRow.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 (scenario_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Scenario); + } + if (TableRowIndex != 0) { + output.WriteRawTag(16); + output.WriteInt32(TableRowIndex); + } + if (ScenarioTableRowIndex != 0) { + output.WriteRawTag(24); + output.WriteInt32(ScenarioTableRowIndex); + } + if (IsSpecTableDriven != false) { + output.WriteRawTag(32); + output.WriteBool(IsSpecTableDriven); + } + if (IsScenarioTableDriven != false) { + output.WriteRawTag(40); + output.WriteBool(IsScenarioTableDriven); + } + if (scenarioDataTable_ != null) { + output.WriteRawTag(50); + output.WriteMessage(ScenarioDataTable); + } + if (scenarioTableRow_ != null) { + output.WriteRawTag(58); + output.WriteMessage(ScenarioTableRow); + } + 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 (scenario_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Scenario); + } + if (TableRowIndex != 0) { + output.WriteRawTag(16); + output.WriteInt32(TableRowIndex); + } + if (ScenarioTableRowIndex != 0) { + output.WriteRawTag(24); + output.WriteInt32(ScenarioTableRowIndex); + } + if (IsSpecTableDriven != false) { + output.WriteRawTag(32); + output.WriteBool(IsSpecTableDriven); + } + if (IsScenarioTableDriven != false) { + output.WriteRawTag(40); + output.WriteBool(IsScenarioTableDriven); + } + if (scenarioDataTable_ != null) { + output.WriteRawTag(50); + output.WriteMessage(ScenarioDataTable); + } + if (scenarioTableRow_ != null) { + output.WriteRawTag(58); + output.WriteMessage(ScenarioTableRow); + } + 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 (scenario_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Scenario); + } + if (TableRowIndex != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TableRowIndex); + } + if (ScenarioTableRowIndex != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScenarioTableRowIndex); + } + if (IsSpecTableDriven != false) { + size += 1 + 1; + } + if (IsScenarioTableDriven != false) { + size += 1 + 1; + } + if (scenarioDataTable_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ScenarioDataTable); + } + if (scenarioTableRow_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ScenarioTableRow); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoTableDrivenScenario other) { + if (other == null) { + return; + } + if (other.scenario_ != null) { + if (scenario_ == null) { + Scenario = new global::Gauge.Messages.ProtoScenario(); + } + Scenario.MergeFrom(other.Scenario); + } + if (other.TableRowIndex != 0) { + TableRowIndex = other.TableRowIndex; + } + if (other.ScenarioTableRowIndex != 0) { + ScenarioTableRowIndex = other.ScenarioTableRowIndex; + } + if (other.IsSpecTableDriven != false) { + IsSpecTableDriven = other.IsSpecTableDriven; + } + if (other.IsScenarioTableDriven != false) { + IsScenarioTableDriven = other.IsScenarioTableDriven; + } + if (other.scenarioDataTable_ != null) { + if (scenarioDataTable_ == null) { + ScenarioDataTable = new global::Gauge.Messages.ProtoTable(); + } + ScenarioDataTable.MergeFrom(other.ScenarioDataTable); + } + if (other.scenarioTableRow_ != null) { + if (scenarioTableRow_ == null) { + ScenarioTableRow = new global::Gauge.Messages.ProtoTable(); + } + ScenarioTableRow.MergeFrom(other.ScenarioTableRow); + } + _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 (scenario_ == null) { + Scenario = new global::Gauge.Messages.ProtoScenario(); + } + input.ReadMessage(Scenario); + break; + } + case 16: { + TableRowIndex = input.ReadInt32(); + break; + } + case 24: { + ScenarioTableRowIndex = input.ReadInt32(); + break; + } + case 32: { + IsSpecTableDriven = input.ReadBool(); + break; + } + case 40: { + IsScenarioTableDriven = input.ReadBool(); + break; + } + case 50: { + if (scenarioDataTable_ == null) { + ScenarioDataTable = new global::Gauge.Messages.ProtoTable(); + } + input.ReadMessage(ScenarioDataTable); + break; + } + case 58: { + if (scenarioTableRow_ == null) { + ScenarioTableRow = new global::Gauge.Messages.ProtoTable(); + } + input.ReadMessage(ScenarioTableRow); + 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 (scenario_ == null) { + Scenario = new global::Gauge.Messages.ProtoScenario(); + } + input.ReadMessage(Scenario); + break; + } + case 16: { + TableRowIndex = input.ReadInt32(); + break; + } + case 24: { + ScenarioTableRowIndex = input.ReadInt32(); + break; + } + case 32: { + IsSpecTableDriven = input.ReadBool(); + break; + } + case 40: { + IsScenarioTableDriven = input.ReadBool(); + break; + } + case 50: { + if (scenarioDataTable_ == null) { + ScenarioDataTable = new global::Gauge.Messages.ProtoTable(); + } + input.ReadMessage(ScenarioDataTable); + break; + } + case 58: { + if (scenarioTableRow_ == null) { + ScenarioTableRow = new global::Gauge.Messages.ProtoTable(); + } + input.ReadMessage(ScenarioTableRow); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing a Step + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoStep : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoStep()); + 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.SpecReflection.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 ProtoStep() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoStep(ProtoStep other) : this() { + actualText_ = other.actualText_; + parsedText_ = other.parsedText_; + fragments_ = other.fragments_.Clone(); + stepExecutionResult_ = other.stepExecutionResult_ != null ? other.stepExecutionResult_.Clone() : null; + preHookMessages_ = other.preHookMessages_.Clone(); + postHookMessages_ = other.postHookMessages_.Clone(); + preHookScreenshots_ = other.preHookScreenshots_.Clone(); + postHookScreenshots_ = other.postHookScreenshots_.Clone(); + preHookScreenshotFiles_ = other.preHookScreenshotFiles_.Clone(); + postHookScreenshotFiles_ = other.postHookScreenshotFiles_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoStep Clone() { + return new ProtoStep(this); + } + + /// Field number for the "actualText" field. + public const int ActualTextFieldNumber = 1; + private string actualText_ = ""; + /// + //// Holds the raw text of the Step as defined in the spec file. This contains the actual parameter values. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ActualText { + get { return actualText_; } + set { + actualText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "parsedText" field. + public const int ParsedTextFieldNumber = 2; + private string parsedText_ = ""; + /// + //// Contains the parsed text of the Step. This will have placeholders for the parameters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParsedText { + get { return parsedText_; } + set { + parsedText_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "fragments" field. + public const int FragmentsFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_fragments_codec + = pb::FieldCodec.ForMessage(26, global::Gauge.Messages.Fragment.Parser); + private readonly pbc::RepeatedField fragments_ = new pbc::RepeatedField(); + /// + //// Collection of a list of fragments for a Step. A fragment could be either text or parameter. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Fragments { + get { return fragments_; } + } + + /// Field number for the "stepExecutionResult" field. + public const int StepExecutionResultFieldNumber = 4; + private global::Gauge.Messages.ProtoStepExecutionResult stepExecutionResult_; + /// + //// Holds the result from the execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoStepExecutionResult StepExecutionResult { + get { return stepExecutionResult_; } + set { + stepExecutionResult_ = value; + } + } + + /// Field number for the "preHookMessages" field. + public const int PreHookMessagesFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_preHookMessages_codec + = pb::FieldCodec.ForString(42); + private readonly pbc::RepeatedField preHookMessages_ = new pbc::RepeatedField(); + /// + //// Additional information at pre hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookMessages { + get { return preHookMessages_; } + } + + /// Field number for the "postHookMessages" field. + public const int PostHookMessagesFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_postHookMessages_codec + = pb::FieldCodec.ForString(50); + private readonly pbc::RepeatedField postHookMessages_ = new pbc::RepeatedField(); + /// + //// Additional information at post hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookMessages { + get { return postHookMessages_; } + } + + /// Field number for the "preHookScreenshots" field. + public const int PreHookScreenshotsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_preHookScreenshots_codec + = pb::FieldCodec.ForBytes(58); + private readonly pbc::RepeatedField preHookScreenshots_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookScreenshots { + get { return preHookScreenshots_; } + } + + /// Field number for the "postHookScreenshots" field. + public const int PostHookScreenshotsFieldNumber = 8; + private static readonly pb::FieldCodec _repeated_postHookScreenshots_codec + = pb::FieldCodec.ForBytes(66); + private readonly pbc::RepeatedField postHookScreenshots_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookScreenshots { + get { return postHookScreenshots_; } + } + + /// Field number for the "preHookScreenshotFiles" field. + public const int PreHookScreenshotFilesFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_preHookScreenshotFiles_codec + = pb::FieldCodec.ForString(74); + private readonly pbc::RepeatedField preHookScreenshotFiles_ = new pbc::RepeatedField(); + /// + //// Screenshots captured on pre hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookScreenshotFiles { + get { return preHookScreenshotFiles_; } + } + + /// Field number for the "postHookScreenshotFiles" field. + public const int PostHookScreenshotFilesFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_postHookScreenshotFiles_codec + = pb::FieldCodec.ForString(82); + private readonly pbc::RepeatedField postHookScreenshotFiles_ = new pbc::RepeatedField(); + /// + //// Screenshots captured on post hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookScreenshotFiles { + get { return postHookScreenshotFiles_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoStep); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoStep other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ActualText != other.ActualText) return false; + if (ParsedText != other.ParsedText) return false; + if(!fragments_.Equals(other.fragments_)) return false; + if (!object.Equals(StepExecutionResult, other.StepExecutionResult)) return false; + if(!preHookMessages_.Equals(other.preHookMessages_)) return false; + if(!postHookMessages_.Equals(other.postHookMessages_)) return false; + if(!preHookScreenshots_.Equals(other.preHookScreenshots_)) return false; + if(!postHookScreenshots_.Equals(other.postHookScreenshots_)) return false; + if(!preHookScreenshotFiles_.Equals(other.preHookScreenshotFiles_)) return false; + if(!postHookScreenshotFiles_.Equals(other.postHookScreenshotFiles_)) 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 (ActualText.Length != 0) hash ^= ActualText.GetHashCode(); + if (ParsedText.Length != 0) hash ^= ParsedText.GetHashCode(); + hash ^= fragments_.GetHashCode(); + if (stepExecutionResult_ != null) hash ^= StepExecutionResult.GetHashCode(); + hash ^= preHookMessages_.GetHashCode(); + hash ^= postHookMessages_.GetHashCode(); + hash ^= preHookScreenshots_.GetHashCode(); + hash ^= postHookScreenshots_.GetHashCode(); + hash ^= preHookScreenshotFiles_.GetHashCode(); + hash ^= postHookScreenshotFiles_.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 (ActualText.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ActualText); + } + if (ParsedText.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ParsedText); + } + fragments_.WriteTo(output, _repeated_fragments_codec); + if (stepExecutionResult_ != null) { + output.WriteRawTag(34); + output.WriteMessage(StepExecutionResult); + } + preHookMessages_.WriteTo(output, _repeated_preHookMessages_codec); + postHookMessages_.WriteTo(output, _repeated_postHookMessages_codec); + preHookScreenshots_.WriteTo(output, _repeated_preHookScreenshots_codec); + postHookScreenshots_.WriteTo(output, _repeated_postHookScreenshots_codec); + preHookScreenshotFiles_.WriteTo(output, _repeated_preHookScreenshotFiles_codec); + postHookScreenshotFiles_.WriteTo(output, _repeated_postHookScreenshotFiles_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 (ActualText.Length != 0) { + output.WriteRawTag(10); + output.WriteString(ActualText); + } + if (ParsedText.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ParsedText); + } + fragments_.WriteTo(ref output, _repeated_fragments_codec); + if (stepExecutionResult_ != null) { + output.WriteRawTag(34); + output.WriteMessage(StepExecutionResult); + } + preHookMessages_.WriteTo(ref output, _repeated_preHookMessages_codec); + postHookMessages_.WriteTo(ref output, _repeated_postHookMessages_codec); + preHookScreenshots_.WriteTo(ref output, _repeated_preHookScreenshots_codec); + postHookScreenshots_.WriteTo(ref output, _repeated_postHookScreenshots_codec); + preHookScreenshotFiles_.WriteTo(ref output, _repeated_preHookScreenshotFiles_codec); + postHookScreenshotFiles_.WriteTo(ref output, _repeated_postHookScreenshotFiles_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 (ActualText.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ActualText); + } + if (ParsedText.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParsedText); + } + size += fragments_.CalculateSize(_repeated_fragments_codec); + if (stepExecutionResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(StepExecutionResult); + } + size += preHookMessages_.CalculateSize(_repeated_preHookMessages_codec); + size += postHookMessages_.CalculateSize(_repeated_postHookMessages_codec); + size += preHookScreenshots_.CalculateSize(_repeated_preHookScreenshots_codec); + size += postHookScreenshots_.CalculateSize(_repeated_postHookScreenshots_codec); + size += preHookScreenshotFiles_.CalculateSize(_repeated_preHookScreenshotFiles_codec); + size += postHookScreenshotFiles_.CalculateSize(_repeated_postHookScreenshotFiles_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoStep other) { + if (other == null) { + return; + } + if (other.ActualText.Length != 0) { + ActualText = other.ActualText; + } + if (other.ParsedText.Length != 0) { + ParsedText = other.ParsedText; + } + fragments_.Add(other.fragments_); + if (other.stepExecutionResult_ != null) { + if (stepExecutionResult_ == null) { + StepExecutionResult = new global::Gauge.Messages.ProtoStepExecutionResult(); + } + StepExecutionResult.MergeFrom(other.StepExecutionResult); + } + preHookMessages_.Add(other.preHookMessages_); + postHookMessages_.Add(other.postHookMessages_); + preHookScreenshots_.Add(other.preHookScreenshots_); + postHookScreenshots_.Add(other.postHookScreenshots_); + preHookScreenshotFiles_.Add(other.preHookScreenshotFiles_); + postHookScreenshotFiles_.Add(other.postHookScreenshotFiles_); + _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: { + ActualText = input.ReadString(); + break; + } + case 18: { + ParsedText = input.ReadString(); + break; + } + case 26: { + fragments_.AddEntriesFrom(input, _repeated_fragments_codec); + break; + } + case 34: { + if (stepExecutionResult_ == null) { + StepExecutionResult = new global::Gauge.Messages.ProtoStepExecutionResult(); + } + input.ReadMessage(StepExecutionResult); + break; + } + case 42: { + preHookMessages_.AddEntriesFrom(input, _repeated_preHookMessages_codec); + break; + } + case 50: { + postHookMessages_.AddEntriesFrom(input, _repeated_postHookMessages_codec); + break; + } + case 58: { + preHookScreenshots_.AddEntriesFrom(input, _repeated_preHookScreenshots_codec); + break; + } + case 66: { + postHookScreenshots_.AddEntriesFrom(input, _repeated_postHookScreenshots_codec); + break; + } + case 74: { + preHookScreenshotFiles_.AddEntriesFrom(input, _repeated_preHookScreenshotFiles_codec); + break; + } + case 82: { + postHookScreenshotFiles_.AddEntriesFrom(input, _repeated_postHookScreenshotFiles_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: { + ActualText = input.ReadString(); + break; + } + case 18: { + ParsedText = input.ReadString(); + break; + } + case 26: { + fragments_.AddEntriesFrom(ref input, _repeated_fragments_codec); + break; + } + case 34: { + if (stepExecutionResult_ == null) { + StepExecutionResult = new global::Gauge.Messages.ProtoStepExecutionResult(); + } + input.ReadMessage(StepExecutionResult); + break; + } + case 42: { + preHookMessages_.AddEntriesFrom(ref input, _repeated_preHookMessages_codec); + break; + } + case 50: { + postHookMessages_.AddEntriesFrom(ref input, _repeated_postHookMessages_codec); + break; + } + case 58: { + preHookScreenshots_.AddEntriesFrom(ref input, _repeated_preHookScreenshots_codec); + break; + } + case 66: { + postHookScreenshots_.AddEntriesFrom(ref input, _repeated_postHookScreenshots_codec); + break; + } + case 74: { + preHookScreenshotFiles_.AddEntriesFrom(ref input, _repeated_preHookScreenshotFiles_codec); + break; + } + case 82: { + postHookScreenshotFiles_.AddEntriesFrom(ref input, _repeated_postHookScreenshotFiles_codec); + break; + } + } + } + } + #endif + + } + + /// + //// Concept is a type of step, that can have multiple Steps. + //// But from a caller's perspective, it is still used as any other Step + //// A proto object representing a Concept + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoConcept : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoConcept()); + 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.SpecReflection.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 ProtoConcept() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoConcept(ProtoConcept other) : this() { + conceptStep_ = other.conceptStep_ != null ? other.conceptStep_.Clone() : null; + steps_ = other.steps_.Clone(); + conceptExecutionResult_ = other.conceptExecutionResult_ != null ? other.conceptExecutionResult_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoConcept Clone() { + return new ProtoConcept(this); + } + + /// Field number for the "conceptStep" field. + public const int ConceptStepFieldNumber = 1; + private global::Gauge.Messages.ProtoStep conceptStep_; + /// + //// Represents the Step value of a Concept. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoStep ConceptStep { + get { return conceptStep_; } + set { + conceptStep_ = 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.ProtoItem.Parser); + private readonly pbc::RepeatedField steps_ = new pbc::RepeatedField(); + /// + //// Collection of Steps in the given concepts. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Steps { + get { return steps_; } + } + + /// Field number for the "conceptExecutionResult" field. + public const int ConceptExecutionResultFieldNumber = 3; + private global::Gauge.Messages.ProtoStepExecutionResult conceptExecutionResult_; + /// + //// Holds the execution result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoStepExecutionResult ConceptExecutionResult { + get { return conceptExecutionResult_; } + set { + conceptExecutionResult_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoConcept); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoConcept other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ConceptStep, other.ConceptStep)) return false; + if(!steps_.Equals(other.steps_)) return false; + if (!object.Equals(ConceptExecutionResult, other.ConceptExecutionResult)) 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 (conceptStep_ != null) hash ^= ConceptStep.GetHashCode(); + hash ^= steps_.GetHashCode(); + if (conceptExecutionResult_ != null) hash ^= ConceptExecutionResult.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 (conceptStep_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ConceptStep); + } + steps_.WriteTo(output, _repeated_steps_codec); + if (conceptExecutionResult_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ConceptExecutionResult); + } + 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 (conceptStep_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ConceptStep); + } + steps_.WriteTo(ref output, _repeated_steps_codec); + if (conceptExecutionResult_ != null) { + output.WriteRawTag(26); + output.WriteMessage(ConceptExecutionResult); + } + 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 (conceptStep_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConceptStep); + } + size += steps_.CalculateSize(_repeated_steps_codec); + if (conceptExecutionResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ConceptExecutionResult); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoConcept other) { + if (other == null) { + return; + } + if (other.conceptStep_ != null) { + if (conceptStep_ == null) { + ConceptStep = new global::Gauge.Messages.ProtoStep(); + } + ConceptStep.MergeFrom(other.ConceptStep); + } + steps_.Add(other.steps_); + if (other.conceptExecutionResult_ != null) { + if (conceptExecutionResult_ == null) { + ConceptExecutionResult = new global::Gauge.Messages.ProtoStepExecutionResult(); + } + ConceptExecutionResult.MergeFrom(other.ConceptExecutionResult); + } + _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 (conceptStep_ == null) { + ConceptStep = new global::Gauge.Messages.ProtoStep(); + } + input.ReadMessage(ConceptStep); + break; + } + case 18: { + steps_.AddEntriesFrom(input, _repeated_steps_codec); + break; + } + case 26: { + if (conceptExecutionResult_ == null) { + ConceptExecutionResult = new global::Gauge.Messages.ProtoStepExecutionResult(); + } + input.ReadMessage(ConceptExecutionResult); + 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 (conceptStep_ == null) { + ConceptStep = new global::Gauge.Messages.ProtoStep(); + } + input.ReadMessage(ConceptStep); + break; + } + case 18: { + steps_.AddEntriesFrom(ref input, _repeated_steps_codec); + break; + } + case 26: { + if (conceptExecutionResult_ == null) { + ConceptExecutionResult = new global::Gauge.Messages.ProtoStepExecutionResult(); + } + input.ReadMessage(ConceptExecutionResult); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing Tags + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoTags : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTags()); + 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.SpecReflection.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 ProtoTags() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoTags(ProtoTags other) : this() { + tags_ = other.tags_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoTags Clone() { + return new ProtoTags(this); + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_tags_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField tags_ = new pbc::RepeatedField(); + /// + //// A collection of Tags + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Tags { + get { return tags_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoTags); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoTags other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!tags_.Equals(other.tags_)) 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 ^= tags_.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 + tags_.WriteTo(output, _repeated_tags_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) { + tags_.WriteTo(ref output, _repeated_tags_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 += tags_.CalculateSize(_repeated_tags_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoTags other) { + if (other == null) { + return; + } + tags_.Add(other.tags_); + _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: { + tags_.AddEntriesFrom(input, _repeated_tags_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: { + tags_.AddEntriesFrom(ref input, _repeated_tags_codec); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing Fragment. + //// Fragments, put together make up A Step + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Fragment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Fragment()); + 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.SpecReflection.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 Fragment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Fragment(Fragment other) : this() { + fragmentType_ = other.fragmentType_; + text_ = other.text_; + parameter_ = other.parameter_ != null ? other.parameter_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Fragment Clone() { + return new Fragment(this); + } + + /// Field number for the "fragmentType" field. + public const int FragmentTypeFieldNumber = 1; + private global::Gauge.Messages.Fragment.Types.FragmentType fragmentType_ = global::Gauge.Messages.Fragment.Types.FragmentType.Text; + /// + //// Type of Fragment, valid values are Text, Parameter + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.Fragment.Types.FragmentType FragmentType { + get { return fragmentType_; } + set { + fragmentType_ = value; + } + } + + /// Field number for the "text" field. + public const int TextFieldNumber = 2; + private string text_ = ""; + /// + //// Text part of the Fragment, valid only if FragmentType=Text + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Text { + get { return text_; } + set { + text_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "parameter" field. + public const int ParameterFieldNumber = 3; + private global::Gauge.Messages.Parameter parameter_; + /// + //// Parameter part of the Fragment, valid only if FragmentType=Parameter + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.Parameter Parameter { + get { return parameter_; } + set { + parameter_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Fragment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Fragment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (FragmentType != other.FragmentType) return false; + if (Text != other.Text) return false; + if (!object.Equals(Parameter, other.Parameter)) 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 (FragmentType != global::Gauge.Messages.Fragment.Types.FragmentType.Text) hash ^= FragmentType.GetHashCode(); + if (Text.Length != 0) hash ^= Text.GetHashCode(); + if (parameter_ != null) hash ^= Parameter.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 (FragmentType != global::Gauge.Messages.Fragment.Types.FragmentType.Text) { + output.WriteRawTag(8); + output.WriteEnum((int) FragmentType); + } + if (Text.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Text); + } + if (parameter_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Parameter); + } + 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 (FragmentType != global::Gauge.Messages.Fragment.Types.FragmentType.Text) { + output.WriteRawTag(8); + output.WriteEnum((int) FragmentType); + } + if (Text.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Text); + } + if (parameter_ != null) { + output.WriteRawTag(26); + output.WriteMessage(Parameter); + } + 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 (FragmentType != global::Gauge.Messages.Fragment.Types.FragmentType.Text) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) FragmentType); + } + if (Text.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + } + if (parameter_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Parameter); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Fragment other) { + if (other == null) { + return; + } + if (other.FragmentType != global::Gauge.Messages.Fragment.Types.FragmentType.Text) { + FragmentType = other.FragmentType; + } + if (other.Text.Length != 0) { + Text = other.Text; + } + if (other.parameter_ != null) { + if (parameter_ == null) { + Parameter = new global::Gauge.Messages.Parameter(); + } + Parameter.MergeFrom(other.Parameter); + } + _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: { + FragmentType = (global::Gauge.Messages.Fragment.Types.FragmentType) input.ReadEnum(); + break; + } + case 18: { + Text = input.ReadString(); + break; + } + case 26: { + if (parameter_ == null) { + Parameter = new global::Gauge.Messages.Parameter(); + } + input.ReadMessage(Parameter); + 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: { + FragmentType = (global::Gauge.Messages.Fragment.Types.FragmentType) input.ReadEnum(); + break; + } + case 18: { + Text = input.ReadString(); + break; + } + case 26: { + if (parameter_ == null) { + Parameter = new global::Gauge.Messages.Parameter(); + } + input.ReadMessage(Parameter); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Fragment message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + //// Enum representing the types of Fragment + /// + public enum FragmentType { + /// + //// Fragment is a Text part + /// + [pbr::OriginalName("Text")] Text = 0, + /// + //// Fragment is a Parameter part + /// + [pbr::OriginalName("Parameter")] Parameter = 1, + } + + } + #endregion + + } + + /// + //// A proto object representing Fragment. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Parameter : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Parameter()); + 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.SpecReflection.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 Parameter() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Parameter(Parameter other) : this() { + parameterType_ = other.parameterType_; + value_ = other.value_; + name_ = other.name_; + table_ = other.table_ != null ? other.table_.Clone() : null; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Parameter Clone() { + return new Parameter(this); + } + + /// Field number for the "parameterType" field. + public const int ParameterTypeFieldNumber = 1; + private global::Gauge.Messages.Parameter.Types.ParameterType parameterType_ = global::Gauge.Messages.Parameter.Types.ParameterType.Static; + /// + //// Type of the Parameter. Valid values: Static, Dynamic, Special_String, Special_Table, Table + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.Parameter.Types.ParameterType ParameterType { + get { return parameterType_; } + set { + parameterType_ = value; + } + } + + /// Field number for the "value" field. + public const int ValueFieldNumber = 2; + private string value_ = ""; + /// + //// Holds the value of the parameter + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Value { + get { return value_; } + set { + value_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "name" field. + public const int NameFieldNumber = 3; + private string name_ = ""; + /// + //// Holds the name of the parameter, used as Key to lookup the value. + /// + [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 = 4; + private global::Gauge.Messages.ProtoTable table_; + /// + //// Holds the table value, if parameterType=Table or Special_Table + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoTable Table { + get { return table_; } + set { + table_ = value; + } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as Parameter); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Parameter other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (ParameterType != other.ParameterType) return false; + if (Value != other.Value) return false; + if (Name != other.Name) return false; + if (!object.Equals(Table, other.Table)) 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 (ParameterType != global::Gauge.Messages.Parameter.Types.ParameterType.Static) hash ^= ParameterType.GetHashCode(); + if (Value.Length != 0) hash ^= Value.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (table_ != null) hash ^= Table.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 (ParameterType != global::Gauge.Messages.Parameter.Types.ParameterType.Static) { + output.WriteRawTag(8); + output.WriteEnum((int) ParameterType); + } + if (Value.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Value); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (table_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Table); + } + 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 (ParameterType != global::Gauge.Messages.Parameter.Types.ParameterType.Static) { + output.WriteRawTag(8); + output.WriteEnum((int) ParameterType); + } + if (Value.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Value); + } + if (Name.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Name); + } + if (table_ != null) { + output.WriteRawTag(34); + output.WriteMessage(Table); + } + 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 (ParameterType != global::Gauge.Messages.Parameter.Types.ParameterType.Static) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ParameterType); + } + if (Value.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Value); + } + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (table_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Table); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Parameter other) { + if (other == null) { + return; + } + if (other.ParameterType != global::Gauge.Messages.Parameter.Types.ParameterType.Static) { + ParameterType = other.ParameterType; + } + if (other.Value.Length != 0) { + Value = other.Value; + } + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.table_ != null) { + if (table_ == null) { + Table = new global::Gauge.Messages.ProtoTable(); + } + Table.MergeFrom(other.Table); + } + _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: { + ParameterType = (global::Gauge.Messages.Parameter.Types.ParameterType) input.ReadEnum(); + break; + } + case 18: { + Value = input.ReadString(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + if (table_ == null) { + Table = new global::Gauge.Messages.ProtoTable(); + } + input.ReadMessage(Table); + 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: { + ParameterType = (global::Gauge.Messages.Parameter.Types.ParameterType) input.ReadEnum(); + break; + } + case 18: { + Value = input.ReadString(); + break; + } + case 26: { + Name = input.ReadString(); + break; + } + case 34: { + if (table_ == null) { + Table = new global::Gauge.Messages.ProtoTable(); + } + input.ReadMessage(Table); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Parameter message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + /// + //// Enum representing types of Parameter. + /// + public enum ParameterType { + /// + /// Static parameter. The value of the parameter is defined at the Step. + /// + [pbr::OriginalName("Static")] Static = 0, + /// + /// Dynamic parameter. This is a parameter placeholder, and the actual value is injected at runtime, depending on the context of the call. + /// + [pbr::OriginalName("Dynamic")] Dynamic = 1, + /// + /// Special paramter, taking a string value. Special paramters are read from a file. + /// + [pbr::OriginalName("Special_String")] SpecialString = 2, + /// + /// Special paramter, taking a Table value. This parameter is read from a csv file. + /// + [pbr::OriginalName("Special_Table")] SpecialTable = 3, + /// + /// A table parameter, used for data driven execution. + /// + [pbr::OriginalName("Table")] Table = 4, + } + + } + #endregion + + } + + /// + //// A proto object representing Comment. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoComment : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoComment()); + 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.SpecReflection.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 ProtoComment() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoComment(ProtoComment other) : this() { + text_ = other.text_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoComment Clone() { + return new ProtoComment(this); + } + + /// Field number for the "text" field. + public const int TextFieldNumber = 1; + private string text_ = ""; + /// + //// Text representing the Comment. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Text { + get { return text_; } + set { + text_ = 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 ProtoComment); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoComment other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Text != other.Text) 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 (Text.Length != 0) hash ^= Text.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 (Text.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Text); + } + 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 (Text.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Text); + } + 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 (Text.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Text); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoComment other) { + if (other == null) { + return; + } + if (other.Text.Length != 0) { + Text = other.Text; + } + _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: { + Text = 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: { + Text = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing Table. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoTable : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTable()); + 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.SpecReflection.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 ProtoTable() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoTable(ProtoTable other) : this() { + headers_ = other.headers_ != null ? other.headers_.Clone() : null; + rows_ = other.rows_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoTable Clone() { + return new ProtoTable(this); + } + + /// Field number for the "headers" field. + public const int HeadersFieldNumber = 1; + private global::Gauge.Messages.ProtoTableRow headers_; + /// + //// Contains the Headers for the table + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoTableRow Headers { + get { return headers_; } + set { + headers_ = value; + } + } + + /// Field number for the "rows" field. + public const int RowsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_rows_codec + = pb::FieldCodec.ForMessage(18, global::Gauge.Messages.ProtoTableRow.Parser); + private readonly pbc::RepeatedField rows_ = new pbc::RepeatedField(); + /// + //// Contains the Rows for the table + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Rows { + get { return rows_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoTable); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoTable other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(Headers, other.Headers)) return false; + if(!rows_.Equals(other.rows_)) 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 (headers_ != null) hash ^= Headers.GetHashCode(); + hash ^= rows_.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 (headers_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Headers); + } + rows_.WriteTo(output, _repeated_rows_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 (headers_ != null) { + output.WriteRawTag(10); + output.WriteMessage(Headers); + } + rows_.WriteTo(ref output, _repeated_rows_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 (headers_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Headers); + } + size += rows_.CalculateSize(_repeated_rows_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoTable other) { + if (other == null) { + return; + } + if (other.headers_ != null) { + if (headers_ == null) { + Headers = new global::Gauge.Messages.ProtoTableRow(); + } + Headers.MergeFrom(other.Headers); + } + rows_.Add(other.rows_); + _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 (headers_ == null) { + Headers = new global::Gauge.Messages.ProtoTableRow(); + } + input.ReadMessage(Headers); + break; + } + case 18: { + rows_.AddEntriesFrom(input, _repeated_rows_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 (headers_ == null) { + Headers = new global::Gauge.Messages.ProtoTableRow(); + } + input.ReadMessage(Headers); + break; + } + case 18: { + rows_.AddEntriesFrom(ref input, _repeated_rows_codec); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing Table. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoTableRow : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoTableRow()); + 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.SpecReflection.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 ProtoTableRow() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoTableRow(ProtoTableRow other) : this() { + cells_ = other.cells_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoTableRow Clone() { + return new ProtoTableRow(this); + } + + /// Field number for the "cells" field. + public const int CellsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_cells_codec + = pb::FieldCodec.ForString(10); + private readonly pbc::RepeatedField cells_ = new pbc::RepeatedField(); + /// + //// Represents the cells of a given table + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Cells { + get { return cells_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoTableRow); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoTableRow other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!cells_.Equals(other.cells_)) 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 ^= cells_.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 + cells_.WriteTo(output, _repeated_cells_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) { + cells_.WriteTo(ref output, _repeated_cells_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 += cells_.CalculateSize(_repeated_cells_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoTableRow other) { + if (other == null) { + return; + } + cells_.Add(other.cells_); + _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: { + cells_.AddEntriesFrom(input, _repeated_cells_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: { + cells_.AddEntriesFrom(ref input, _repeated_cells_codec); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing Step Execution result + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoStepExecutionResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoStepExecutionResult()); + 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.SpecReflection.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 ProtoStepExecutionResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoStepExecutionResult(ProtoStepExecutionResult other) : this() { + executionResult_ = other.executionResult_ != null ? other.executionResult_.Clone() : null; + preHookFailure_ = other.preHookFailure_ != null ? other.preHookFailure_.Clone() : null; + postHookFailure_ = other.postHookFailure_ != null ? other.postHookFailure_.Clone() : null; + skipped_ = other.skipped_; + skippedReason_ = other.skippedReason_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoStepExecutionResult Clone() { + return new ProtoStepExecutionResult(this); + } + + /// Field number for the "executionResult" field. + public const int ExecutionResultFieldNumber = 1; + private global::Gauge.Messages.ProtoExecutionResult executionResult_; + /// + //// The actual result of the execution + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoExecutionResult ExecutionResult { + get { return executionResult_; } + set { + executionResult_ = value; + } + } + + /// Field number for the "preHookFailure" field. + public const int PreHookFailureFieldNumber = 2; + private global::Gauge.Messages.ProtoHookFailure preHookFailure_; + /// + //// Contains a 'before' hook failure message. This happens when the `before_step` hook has an error. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoHookFailure PreHookFailure { + get { return preHookFailure_; } + set { + preHookFailure_ = value; + } + } + + /// Field number for the "postHookFailure" field. + public const int PostHookFailureFieldNumber = 3; + private global::Gauge.Messages.ProtoHookFailure postHookFailure_; + /// + //// Contains a 'after' hook failure message. This happens when the `after_step` hook has an error. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoHookFailure PostHookFailure { + get { return postHookFailure_; } + set { + postHookFailure_ = value; + } + } + + /// Field number for the "skipped" field. + public const int SkippedFieldNumber = 4; + private bool skipped_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Skipped { + get { return skipped_; } + set { + skipped_ = value; + } + } + + /// Field number for the "skippedReason" field. + public const int SkippedReasonFieldNumber = 5; + private string skippedReason_ = ""; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string SkippedReason { + get { return skippedReason_; } + set { + skippedReason_ = 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 ProtoStepExecutionResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoStepExecutionResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ExecutionResult, other.ExecutionResult)) return false; + if (!object.Equals(PreHookFailure, other.PreHookFailure)) return false; + if (!object.Equals(PostHookFailure, other.PostHookFailure)) return false; + if (Skipped != other.Skipped) return false; + if (SkippedReason != other.SkippedReason) 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 (executionResult_ != null) hash ^= ExecutionResult.GetHashCode(); + if (preHookFailure_ != null) hash ^= PreHookFailure.GetHashCode(); + if (postHookFailure_ != null) hash ^= PostHookFailure.GetHashCode(); + if (Skipped != false) hash ^= Skipped.GetHashCode(); + if (SkippedReason.Length != 0) hash ^= SkippedReason.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 (executionResult_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ExecutionResult); + } + if (preHookFailure_ != null) { + output.WriteRawTag(18); + output.WriteMessage(PreHookFailure); + } + if (postHookFailure_ != null) { + output.WriteRawTag(26); + output.WriteMessage(PostHookFailure); + } + if (Skipped != false) { + output.WriteRawTag(32); + output.WriteBool(Skipped); + } + if (SkippedReason.Length != 0) { + output.WriteRawTag(42); + output.WriteString(SkippedReason); + } + 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 (executionResult_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ExecutionResult); + } + if (preHookFailure_ != null) { + output.WriteRawTag(18); + output.WriteMessage(PreHookFailure); + } + if (postHookFailure_ != null) { + output.WriteRawTag(26); + output.WriteMessage(PostHookFailure); + } + if (Skipped != false) { + output.WriteRawTag(32); + output.WriteBool(Skipped); + } + if (SkippedReason.Length != 0) { + output.WriteRawTag(42); + output.WriteString(SkippedReason); + } + 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 (executionResult_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ExecutionResult); + } + if (preHookFailure_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PreHookFailure); + } + if (postHookFailure_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PostHookFailure); + } + if (Skipped != false) { + size += 1 + 1; + } + if (SkippedReason.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(SkippedReason); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoStepExecutionResult other) { + if (other == null) { + return; + } + if (other.executionResult_ != null) { + if (executionResult_ == null) { + ExecutionResult = new global::Gauge.Messages.ProtoExecutionResult(); + } + ExecutionResult.MergeFrom(other.ExecutionResult); + } + if (other.preHookFailure_ != null) { + if (preHookFailure_ == null) { + PreHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + PreHookFailure.MergeFrom(other.PreHookFailure); + } + if (other.postHookFailure_ != null) { + if (postHookFailure_ == null) { + PostHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + PostHookFailure.MergeFrom(other.PostHookFailure); + } + if (other.Skipped != false) { + Skipped = other.Skipped; + } + if (other.SkippedReason.Length != 0) { + SkippedReason = other.SkippedReason; + } + _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 (executionResult_ == null) { + ExecutionResult = new global::Gauge.Messages.ProtoExecutionResult(); + } + input.ReadMessage(ExecutionResult); + break; + } + case 18: { + if (preHookFailure_ == null) { + PreHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PreHookFailure); + break; + } + case 26: { + if (postHookFailure_ == null) { + PostHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PostHookFailure); + break; + } + case 32: { + Skipped = input.ReadBool(); + break; + } + case 42: { + SkippedReason = 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: { + if (executionResult_ == null) { + ExecutionResult = new global::Gauge.Messages.ProtoExecutionResult(); + } + input.ReadMessage(ExecutionResult); + break; + } + case 18: { + if (preHookFailure_ == null) { + PreHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PreHookFailure); + break; + } + case 26: { + if (postHookFailure_ == null) { + PostHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PostHookFailure); + break; + } + case 32: { + Skipped = input.ReadBool(); + break; + } + case 42: { + SkippedReason = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing the result of an execution + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoExecutionResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoExecutionResult()); + 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.SpecReflection.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 ProtoExecutionResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoExecutionResult(ProtoExecutionResult other) : this() { + failed_ = other.failed_; + recoverableError_ = other.recoverableError_; + errorMessage_ = other.errorMessage_; + stackTrace_ = other.stackTrace_; + screenShot_ = other.screenShot_; + executionTime_ = other.executionTime_; + message_ = other.message_.Clone(); + errorType_ = other.errorType_; + failureScreenshot_ = other.failureScreenshot_; + screenshots_ = other.screenshots_.Clone(); + failureScreenshotFile_ = other.failureScreenshotFile_; + screenshotFiles_ = other.screenshotFiles_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoExecutionResult Clone() { + return new ProtoExecutionResult(this); + } + + /// Field number for the "failed" field. + public const int FailedFieldNumber = 1; + private bool failed_; + /// + //// Flag to indicate failure + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Failed { + get { return failed_; } + set { + failed_ = value; + } + } + + /// Field number for the "recoverableError" field. + public const int RecoverableErrorFieldNumber = 2; + private bool recoverableError_; + /// + //// Flag to indicate if the error is recoverable from. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool RecoverableError { + get { return recoverableError_; } + set { + recoverableError_ = value; + } + } + + /// Field number for the "errorMessage" field. + public const int ErrorMessageFieldNumber = 3; + private string errorMessage_ = ""; + /// + //// The actual error message. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ErrorMessage { + get { return errorMessage_; } + set { + errorMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "stackTrace" field. + public const int StackTraceFieldNumber = 4; + private string stackTrace_ = ""; + /// + //// Stacktrace of the error + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StackTrace { + get { return stackTrace_; } + set { + stackTrace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "screenShot" field. + public const int ScreenShotFieldNumber = 5; + private pb::ByteString screenShot_ = pb::ByteString.Empty; + /// + //// [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure. + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString ScreenShot { + get { return screenShot_; } + set { + screenShot_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "executionTime" field. + public const int ExecutionTimeFieldNumber = 6; + private long executionTime_; + /// + //// Holds the time taken for executing this scenario. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ExecutionTime { + get { return executionTime_; } + set { + executionTime_ = value; + } + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_message_codec + = pb::FieldCodec.ForString(58); + private readonly pbc::RepeatedField message_ = new pbc::RepeatedField(); + /// + //// Additional information at exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Message { + get { return message_; } + } + + /// Field number for the "errorType" field. + public const int ErrorTypeFieldNumber = 8; + private global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType errorType_ = global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType.Assertion; + /// + //// Type of the Error. Valid values: ASSERTION, VERIFICATION. Default: ASSERTION + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType ErrorType { + get { return errorType_; } + set { + errorType_ = value; + } + } + + /// Field number for the "failureScreenshot" field. + public const int FailureScreenshotFieldNumber = 9; + private pb::ByteString failureScreenshot_ = pb::ByteString.Empty; + /// + //// [DEPRECATED, use failureScreenshotFile] Bytes containing screenshot taken at the time of failure. + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString FailureScreenshot { + get { return failureScreenshot_; } + set { + failureScreenshot_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "screenshots" field. + public const int ScreenshotsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_screenshots_codec + = pb::FieldCodec.ForBytes(82); + private readonly pbc::RepeatedField screenshots_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use screenshotFiles] Bytes array containing screenshots at the time of it invoked + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Screenshots { + get { return screenshots_; } + } + + /// Field number for the "failureScreenshotFile" field. + public const int FailureScreenshotFileFieldNumber = 11; + private string failureScreenshotFile_ = ""; + /// + //// Path to the screenshot file captured at the time of failure. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FailureScreenshotFile { + get { return failureScreenshotFile_; } + set { + failureScreenshotFile_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "screenshotFiles" field. + public const int ScreenshotFilesFieldNumber = 12; + private static readonly pb::FieldCodec _repeated_screenshotFiles_codec + = pb::FieldCodec.ForString(98); + private readonly pbc::RepeatedField screenshotFiles_ = new pbc::RepeatedField(); + /// + //// Path to the screenshot files captured using Gauge screenshsot API. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField ScreenshotFiles { + get { return screenshotFiles_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoExecutionResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoExecutionResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Failed != other.Failed) return false; + if (RecoverableError != other.RecoverableError) return false; + if (ErrorMessage != other.ErrorMessage) return false; + if (StackTrace != other.StackTrace) return false; + if (ScreenShot != other.ScreenShot) return false; + if (ExecutionTime != other.ExecutionTime) return false; + if(!message_.Equals(other.message_)) return false; + if (ErrorType != other.ErrorType) return false; + if (FailureScreenshot != other.FailureScreenshot) return false; + if(!screenshots_.Equals(other.screenshots_)) return false; + if (FailureScreenshotFile != other.FailureScreenshotFile) return false; + if(!screenshotFiles_.Equals(other.screenshotFiles_)) 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 (Failed != false) hash ^= Failed.GetHashCode(); + if (RecoverableError != false) hash ^= RecoverableError.GetHashCode(); + if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode(); + if (StackTrace.Length != 0) hash ^= StackTrace.GetHashCode(); + if (ScreenShot.Length != 0) hash ^= ScreenShot.GetHashCode(); + if (ExecutionTime != 0L) hash ^= ExecutionTime.GetHashCode(); + hash ^= message_.GetHashCode(); + if (ErrorType != global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType.Assertion) hash ^= ErrorType.GetHashCode(); + if (FailureScreenshot.Length != 0) hash ^= FailureScreenshot.GetHashCode(); + hash ^= screenshots_.GetHashCode(); + if (FailureScreenshotFile.Length != 0) hash ^= FailureScreenshotFile.GetHashCode(); + hash ^= screenshotFiles_.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 (Failed != false) { + output.WriteRawTag(8); + output.WriteBool(Failed); + } + if (RecoverableError != false) { + output.WriteRawTag(16); + output.WriteBool(RecoverableError); + } + if (ErrorMessage.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ErrorMessage); + } + if (StackTrace.Length != 0) { + output.WriteRawTag(34); + output.WriteString(StackTrace); + } + if (ScreenShot.Length != 0) { + output.WriteRawTag(42); + output.WriteBytes(ScreenShot); + } + if (ExecutionTime != 0L) { + output.WriteRawTag(48); + output.WriteInt64(ExecutionTime); + } + message_.WriteTo(output, _repeated_message_codec); + if (ErrorType != global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType.Assertion) { + output.WriteRawTag(64); + output.WriteEnum((int) ErrorType); + } + if (FailureScreenshot.Length != 0) { + output.WriteRawTag(74); + output.WriteBytes(FailureScreenshot); + } + screenshots_.WriteTo(output, _repeated_screenshots_codec); + if (FailureScreenshotFile.Length != 0) { + output.WriteRawTag(90); + output.WriteString(FailureScreenshotFile); + } + screenshotFiles_.WriteTo(output, _repeated_screenshotFiles_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 (Failed != false) { + output.WriteRawTag(8); + output.WriteBool(Failed); + } + if (RecoverableError != false) { + output.WriteRawTag(16); + output.WriteBool(RecoverableError); + } + if (ErrorMessage.Length != 0) { + output.WriteRawTag(26); + output.WriteString(ErrorMessage); + } + if (StackTrace.Length != 0) { + output.WriteRawTag(34); + output.WriteString(StackTrace); + } + if (ScreenShot.Length != 0) { + output.WriteRawTag(42); + output.WriteBytes(ScreenShot); + } + if (ExecutionTime != 0L) { + output.WriteRawTag(48); + output.WriteInt64(ExecutionTime); + } + message_.WriteTo(ref output, _repeated_message_codec); + if (ErrorType != global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType.Assertion) { + output.WriteRawTag(64); + output.WriteEnum((int) ErrorType); + } + if (FailureScreenshot.Length != 0) { + output.WriteRawTag(74); + output.WriteBytes(FailureScreenshot); + } + screenshots_.WriteTo(ref output, _repeated_screenshots_codec); + if (FailureScreenshotFile.Length != 0) { + output.WriteRawTag(90); + output.WriteString(FailureScreenshotFile); + } + screenshotFiles_.WriteTo(ref output, _repeated_screenshotFiles_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 (Failed != false) { + size += 1 + 1; + } + if (RecoverableError != false) { + size += 1 + 1; + } + if (ErrorMessage.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorMessage); + } + if (StackTrace.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StackTrace); + } + if (ScreenShot.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(ScreenShot); + } + if (ExecutionTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExecutionTime); + } + size += message_.CalculateSize(_repeated_message_codec); + if (ErrorType != global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType.Assertion) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) ErrorType); + } + if (FailureScreenshot.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(FailureScreenshot); + } + size += screenshots_.CalculateSize(_repeated_screenshots_codec); + if (FailureScreenshotFile.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FailureScreenshotFile); + } + size += screenshotFiles_.CalculateSize(_repeated_screenshotFiles_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoExecutionResult other) { + if (other == null) { + return; + } + if (other.Failed != false) { + Failed = other.Failed; + } + if (other.RecoverableError != false) { + RecoverableError = other.RecoverableError; + } + if (other.ErrorMessage.Length != 0) { + ErrorMessage = other.ErrorMessage; + } + if (other.StackTrace.Length != 0) { + StackTrace = other.StackTrace; + } + if (other.ScreenShot.Length != 0) { + ScreenShot = other.ScreenShot; + } + if (other.ExecutionTime != 0L) { + ExecutionTime = other.ExecutionTime; + } + message_.Add(other.message_); + if (other.ErrorType != global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType.Assertion) { + ErrorType = other.ErrorType; + } + if (other.FailureScreenshot.Length != 0) { + FailureScreenshot = other.FailureScreenshot; + } + screenshots_.Add(other.screenshots_); + if (other.FailureScreenshotFile.Length != 0) { + FailureScreenshotFile = other.FailureScreenshotFile; + } + screenshotFiles_.Add(other.screenshotFiles_); + _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: { + Failed = input.ReadBool(); + break; + } + case 16: { + RecoverableError = input.ReadBool(); + break; + } + case 26: { + ErrorMessage = input.ReadString(); + break; + } + case 34: { + StackTrace = input.ReadString(); + break; + } + case 42: { + ScreenShot = input.ReadBytes(); + break; + } + case 48: { + ExecutionTime = input.ReadInt64(); + break; + } + case 58: { + message_.AddEntriesFrom(input, _repeated_message_codec); + break; + } + case 64: { + ErrorType = (global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType) input.ReadEnum(); + break; + } + case 74: { + FailureScreenshot = input.ReadBytes(); + break; + } + case 82: { + screenshots_.AddEntriesFrom(input, _repeated_screenshots_codec); + break; + } + case 90: { + FailureScreenshotFile = input.ReadString(); + break; + } + case 98: { + screenshotFiles_.AddEntriesFrom(input, _repeated_screenshotFiles_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: { + Failed = input.ReadBool(); + break; + } + case 16: { + RecoverableError = input.ReadBool(); + break; + } + case 26: { + ErrorMessage = input.ReadString(); + break; + } + case 34: { + StackTrace = input.ReadString(); + break; + } + case 42: { + ScreenShot = input.ReadBytes(); + break; + } + case 48: { + ExecutionTime = input.ReadInt64(); + break; + } + case 58: { + message_.AddEntriesFrom(ref input, _repeated_message_codec); + break; + } + case 64: { + ErrorType = (global::Gauge.Messages.ProtoExecutionResult.Types.ErrorType) input.ReadEnum(); + break; + } + case 74: { + FailureScreenshot = input.ReadBytes(); + break; + } + case 82: { + screenshots_.AddEntriesFrom(ref input, _repeated_screenshots_codec); + break; + } + case 90: { + FailureScreenshotFile = input.ReadString(); + break; + } + case 98: { + screenshotFiles_.AddEntriesFrom(ref input, _repeated_screenshotFiles_codec); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the ProtoExecutionResult message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum ErrorType { + [pbr::OriginalName("ASSERTION")] Assertion = 0, + [pbr::OriginalName("VERIFICATION")] Verification = 1, + } + + } + #endregion + + } + + /// + //// A proto object representing a pre-hook failure. + //// Used to hold failure information for before_suite, before_spec, before_scenario and before_spec hooks. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoHookFailure : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoHookFailure()); + 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.SpecReflection.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 ProtoHookFailure() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoHookFailure(ProtoHookFailure other) : this() { + stackTrace_ = other.stackTrace_; + errorMessage_ = other.errorMessage_; + screenShot_ = other.screenShot_; + tableRowIndex_ = other.tableRowIndex_; + failureScreenshot_ = other.failureScreenshot_; + failureScreenshotFile_ = other.failureScreenshotFile_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoHookFailure Clone() { + return new ProtoHookFailure(this); + } + + /// Field number for the "stackTrace" field. + public const int StackTraceFieldNumber = 1; + private string stackTrace_ = ""; + /// + //// Stacktrace from the failure + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StackTrace { + get { return stackTrace_; } + set { + stackTrace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "errorMessage" field. + public const int ErrorMessageFieldNumber = 2; + private string errorMessage_ = ""; + /// + //// Error message from the failure + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ErrorMessage { + get { return errorMessage_; } + set { + errorMessage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "screenShot" field. + public const int ScreenShotFieldNumber = 3; + private pb::ByteString screenShot_ = pb::ByteString.Empty; + /// + //// [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure. + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString ScreenShot { + get { return screenShot_; } + set { + screenShot_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "tableRowIndex" field. + public const int TableRowIndexFieldNumber = 4; + private int tableRowIndex_; + /// + /// / Contains table row index corresponding to datatable rows + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int TableRowIndex { + get { return tableRowIndex_; } + set { + tableRowIndex_ = value; + } + } + + /// Field number for the "failureScreenshot" field. + public const int FailureScreenshotFieldNumber = 5; + private pb::ByteString failureScreenshot_ = pb::ByteString.Empty; + /// + //// [DEPRECATED, use failureScreenshotFile] Bytes holding the screenshot taken at the time of failure. + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString FailureScreenshot { + get { return failureScreenshot_; } + set { + failureScreenshot_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "failureScreenshotFile" field. + public const int FailureScreenshotFileFieldNumber = 6; + private string failureScreenshotFile_ = ""; + /// + //// Path to the screenshot file captured at the time of failure. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string FailureScreenshotFile { + get { return failureScreenshotFile_; } + set { + failureScreenshotFile_ = 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 ProtoHookFailure); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoHookFailure other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StackTrace != other.StackTrace) return false; + if (ErrorMessage != other.ErrorMessage) return false; + if (ScreenShot != other.ScreenShot) return false; + if (TableRowIndex != other.TableRowIndex) return false; + if (FailureScreenshot != other.FailureScreenshot) return false; + if (FailureScreenshotFile != other.FailureScreenshotFile) 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 (StackTrace.Length != 0) hash ^= StackTrace.GetHashCode(); + if (ErrorMessage.Length != 0) hash ^= ErrorMessage.GetHashCode(); + if (ScreenShot.Length != 0) hash ^= ScreenShot.GetHashCode(); + if (TableRowIndex != 0) hash ^= TableRowIndex.GetHashCode(); + if (FailureScreenshot.Length != 0) hash ^= FailureScreenshot.GetHashCode(); + if (FailureScreenshotFile.Length != 0) hash ^= FailureScreenshotFile.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 (StackTrace.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StackTrace); + } + if (ErrorMessage.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ErrorMessage); + } + if (ScreenShot.Length != 0) { + output.WriteRawTag(26); + output.WriteBytes(ScreenShot); + } + if (TableRowIndex != 0) { + output.WriteRawTag(32); + output.WriteInt32(TableRowIndex); + } + if (FailureScreenshot.Length != 0) { + output.WriteRawTag(42); + output.WriteBytes(FailureScreenshot); + } + if (FailureScreenshotFile.Length != 0) { + output.WriteRawTag(50); + output.WriteString(FailureScreenshotFile); + } + 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 (StackTrace.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StackTrace); + } + if (ErrorMessage.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ErrorMessage); + } + if (ScreenShot.Length != 0) { + output.WriteRawTag(26); + output.WriteBytes(ScreenShot); + } + if (TableRowIndex != 0) { + output.WriteRawTag(32); + output.WriteInt32(TableRowIndex); + } + if (FailureScreenshot.Length != 0) { + output.WriteRawTag(42); + output.WriteBytes(FailureScreenshot); + } + if (FailureScreenshotFile.Length != 0) { + output.WriteRawTag(50); + output.WriteString(FailureScreenshotFile); + } + 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 (StackTrace.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StackTrace); + } + if (ErrorMessage.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ErrorMessage); + } + if (ScreenShot.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(ScreenShot); + } + if (TableRowIndex != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(TableRowIndex); + } + if (FailureScreenshot.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(FailureScreenshot); + } + if (FailureScreenshotFile.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FailureScreenshotFile); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoHookFailure other) { + if (other == null) { + return; + } + if (other.StackTrace.Length != 0) { + StackTrace = other.StackTrace; + } + if (other.ErrorMessage.Length != 0) { + ErrorMessage = other.ErrorMessage; + } + if (other.ScreenShot.Length != 0) { + ScreenShot = other.ScreenShot; + } + if (other.TableRowIndex != 0) { + TableRowIndex = other.TableRowIndex; + } + if (other.FailureScreenshot.Length != 0) { + FailureScreenshot = other.FailureScreenshot; + } + if (other.FailureScreenshotFile.Length != 0) { + FailureScreenshotFile = other.FailureScreenshotFile; + } + _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: { + StackTrace = input.ReadString(); + break; + } + case 18: { + ErrorMessage = input.ReadString(); + break; + } + case 26: { + ScreenShot = input.ReadBytes(); + break; + } + case 32: { + TableRowIndex = input.ReadInt32(); + break; + } + case 42: { + FailureScreenshot = input.ReadBytes(); + break; + } + case 50: { + FailureScreenshotFile = 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: { + StackTrace = input.ReadString(); + break; + } + case 18: { + ErrorMessage = input.ReadString(); + break; + } + case 26: { + ScreenShot = input.ReadBytes(); + break; + } + case 32: { + TableRowIndex = input.ReadInt32(); + break; + } + case 42: { + FailureScreenshot = input.ReadBytes(); + break; + } + case 50: { + FailureScreenshotFile = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing the result of entire Suite execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoSuiteResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSuiteResult()); + 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.SpecReflection.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 ProtoSuiteResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoSuiteResult(ProtoSuiteResult other) : this() { + specResults_ = other.specResults_.Clone(); + preHookFailure_ = other.preHookFailure_ != null ? other.preHookFailure_.Clone() : null; + postHookFailure_ = other.postHookFailure_ != null ? other.postHookFailure_.Clone() : null; + failed_ = other.failed_; + specsFailedCount_ = other.specsFailedCount_; + executionTime_ = other.executionTime_; + successRate_ = other.successRate_; + environment_ = other.environment_; + tags_ = other.tags_; + projectName_ = other.projectName_; + timestamp_ = other.timestamp_; + specsSkippedCount_ = other.specsSkippedCount_; + preHookMessages_ = other.preHookMessages_.Clone(); + postHookMessages_ = other.postHookMessages_.Clone(); + preHookMessage_ = other.preHookMessage_.Clone(); + postHookMessage_ = other.postHookMessage_.Clone(); + preHookScreenshots_ = other.preHookScreenshots_.Clone(); + postHookScreenshots_ = other.postHookScreenshots_.Clone(); + chunked_ = other.chunked_; + chunkSize_ = other.chunkSize_; + preHookScreenshotFiles_ = other.preHookScreenshotFiles_.Clone(); + postHookScreenshotFiles_ = other.postHookScreenshotFiles_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoSuiteResult Clone() { + return new ProtoSuiteResult(this); + } + + /// Field number for the "specResults" field. + public const int SpecResultsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_specResults_codec + = pb::FieldCodec.ForMessage(10, global::Gauge.Messages.ProtoSpecResult.Parser); + private readonly pbc::RepeatedField specResults_ = new pbc::RepeatedField(); + /// + //// Contains the result from the execution + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SpecResults { + get { return specResults_; } + } + + /// Field number for the "preHookFailure" field. + public const int PreHookFailureFieldNumber = 2; + private global::Gauge.Messages.ProtoHookFailure preHookFailure_; + /// + //// Contains a 'before' hook failure message. This happens when the `before_suite` hook has an error + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoHookFailure PreHookFailure { + get { return preHookFailure_; } + set { + preHookFailure_ = value; + } + } + + /// Field number for the "postHookFailure" field. + public const int PostHookFailureFieldNumber = 3; + private global::Gauge.Messages.ProtoHookFailure postHookFailure_; + /// + //// Contains a 'after' hook failure message. This happens when the `after_suite` hook has an error + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoHookFailure PostHookFailure { + get { return postHookFailure_; } + set { + postHookFailure_ = value; + } + } + + /// Field number for the "failed" field. + public const int FailedFieldNumber = 4; + private bool failed_; + /// + //// Flag to indicate failure + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Failed { + get { return failed_; } + set { + failed_ = value; + } + } + + /// Field number for the "specsFailedCount" field. + public const int SpecsFailedCountFieldNumber = 5; + private int specsFailedCount_; + /// + //// Holds the count of number of Specifications that failed. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SpecsFailedCount { + get { return specsFailedCount_; } + set { + specsFailedCount_ = value; + } + } + + /// Field number for the "executionTime" field. + public const int ExecutionTimeFieldNumber = 6; + private long executionTime_; + /// + //// Holds the time taken for executing the whole suite. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ExecutionTime { + get { return executionTime_; } + set { + executionTime_ = value; + } + } + + /// Field number for the "successRate" field. + public const int SuccessRateFieldNumber = 7; + private float successRate_; + /// + //// Holds a metric indicating the success rate of the execution. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public float SuccessRate { + get { return successRate_; } + set { + successRate_ = value; + } + } + + /// Field number for the "environment" field. + public const int EnvironmentFieldNumber = 8; + private string environment_ = ""; + /// + //// The environment against which execution was done + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Environment { + get { return environment_; } + set { + environment_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "tags" field. + public const int TagsFieldNumber = 9; + private string tags_ = ""; + /// + //// Tag expression used for filtering specification + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Tags { + get { return tags_; } + set { + tags_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "projectName" field. + public const int ProjectNameFieldNumber = 10; + private string projectName_ = ""; + /// + //// Project name + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ProjectName { + get { return projectName_; } + set { + projectName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "timestamp" field. + public const int TimestampFieldNumber = 11; + private string timestamp_ = ""; + /// + //// Timestamp of when execution started + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timestamp { + get { return timestamp_; } + set { + timestamp_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "specsSkippedCount" field. + public const int SpecsSkippedCountFieldNumber = 12; + private int specsSkippedCount_; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int SpecsSkippedCount { + get { return specsSkippedCount_; } + set { + specsSkippedCount_ = value; + } + } + + /// Field number for the "preHookMessages" field. + public const int PreHookMessagesFieldNumber = 13; + private static readonly pb::FieldCodec _repeated_preHookMessages_codec + = pb::FieldCodec.ForString(106); + private readonly pbc::RepeatedField preHookMessages_ = new pbc::RepeatedField(); + /// + //// Additional information at pre hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookMessages { + get { return preHookMessages_; } + } + + /// Field number for the "postHookMessages" field. + public const int PostHookMessagesFieldNumber = 14; + private static readonly pb::FieldCodec _repeated_postHookMessages_codec + = pb::FieldCodec.ForString(114); + private readonly pbc::RepeatedField postHookMessages_ = new pbc::RepeatedField(); + /// + //// Additional information at post hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookMessages { + get { return postHookMessages_; } + } + + /// Field number for the "preHookMessage" field. + public const int PreHookMessageFieldNumber = 15; + private static readonly pb::FieldCodec _repeated_preHookMessage_codec + = pb::FieldCodec.ForString(122); + private readonly pbc::RepeatedField preHookMessage_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use preHookMessages] Additional information at pre hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookMessage { + get { return preHookMessage_; } + } + + /// Field number for the "postHookMessage" field. + public const int PostHookMessageFieldNumber = 16; + private static readonly pb::FieldCodec _repeated_postHookMessage_codec + = pb::FieldCodec.ForString(130); + private readonly pbc::RepeatedField postHookMessage_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use postHookMessages] Additional information at post hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookMessage { + get { return postHookMessage_; } + } + + /// Field number for the "preHookScreenshots" field. + public const int PreHookScreenshotsFieldNumber = 17; + private static readonly pb::FieldCodec _repeated_preHookScreenshots_codec + = pb::FieldCodec.ForBytes(138); + private readonly pbc::RepeatedField preHookScreenshots_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use preHookScreenshotFiles] Capture Screenshot at pre hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookScreenshots { + get { return preHookScreenshots_; } + } + + /// Field number for the "postHookScreenshots" field. + public const int PostHookScreenshotsFieldNumber = 18; + private static readonly pb::FieldCodec _repeated_postHookScreenshots_codec + = pb::FieldCodec.ForBytes(146); + private readonly pbc::RepeatedField postHookScreenshots_ = new pbc::RepeatedField(); + /// + //// [DEPRECATED, use postHookScreenshotFiles] Capture Screenshot at post hook exec time to be available on reports + /// + [global::System.ObsoleteAttribute] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookScreenshots { + get { return postHookScreenshots_; } + } + + /// Field number for the "chunked" field. + public const int ChunkedFieldNumber = 19; + private bool chunked_; + /// + /// Indicates if the result is sent in chunks + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Chunked { + get { return chunked_; } + set { + chunked_ = value; + } + } + + /// Field number for the "chunkSize" field. + public const int ChunkSizeFieldNumber = 20; + private long chunkSize_; + /// + /// Indicates the number of chunks to expect after this + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ChunkSize { + get { return chunkSize_; } + set { + chunkSize_ = value; + } + } + + /// Field number for the "preHookScreenshotFiles" field. + public const int PreHookScreenshotFilesFieldNumber = 21; + private static readonly pb::FieldCodec _repeated_preHookScreenshotFiles_codec + = pb::FieldCodec.ForString(170); + private readonly pbc::RepeatedField preHookScreenshotFiles_ = new pbc::RepeatedField(); + /// + //// Screenshots captured on pre hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PreHookScreenshotFiles { + get { return preHookScreenshotFiles_; } + } + + /// Field number for the "postHookScreenshotFiles" field. + public const int PostHookScreenshotFilesFieldNumber = 22; + private static readonly pb::FieldCodec _repeated_postHookScreenshotFiles_codec + = pb::FieldCodec.ForString(178); + private readonly pbc::RepeatedField postHookScreenshotFiles_ = new pbc::RepeatedField(); + /// + //// Screenshots captured on post hook exec time to be available on reports + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField PostHookScreenshotFiles { + get { return postHookScreenshotFiles_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoSuiteResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoSuiteResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!specResults_.Equals(other.specResults_)) return false; + if (!object.Equals(PreHookFailure, other.PreHookFailure)) return false; + if (!object.Equals(PostHookFailure, other.PostHookFailure)) return false; + if (Failed != other.Failed) return false; + if (SpecsFailedCount != other.SpecsFailedCount) return false; + if (ExecutionTime != other.ExecutionTime) return false; + if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(SuccessRate, other.SuccessRate)) return false; + if (Environment != other.Environment) return false; + if (Tags != other.Tags) return false; + if (ProjectName != other.ProjectName) return false; + if (Timestamp != other.Timestamp) return false; + if (SpecsSkippedCount != other.SpecsSkippedCount) return false; + if(!preHookMessages_.Equals(other.preHookMessages_)) return false; + if(!postHookMessages_.Equals(other.postHookMessages_)) return false; + if(!preHookMessage_.Equals(other.preHookMessage_)) return false; + if(!postHookMessage_.Equals(other.postHookMessage_)) return false; + if(!preHookScreenshots_.Equals(other.preHookScreenshots_)) return false; + if(!postHookScreenshots_.Equals(other.postHookScreenshots_)) return false; + if (Chunked != other.Chunked) return false; + if (ChunkSize != other.ChunkSize) return false; + if(!preHookScreenshotFiles_.Equals(other.preHookScreenshotFiles_)) return false; + if(!postHookScreenshotFiles_.Equals(other.postHookScreenshotFiles_)) 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 ^= specResults_.GetHashCode(); + if (preHookFailure_ != null) hash ^= PreHookFailure.GetHashCode(); + if (postHookFailure_ != null) hash ^= PostHookFailure.GetHashCode(); + if (Failed != false) hash ^= Failed.GetHashCode(); + if (SpecsFailedCount != 0) hash ^= SpecsFailedCount.GetHashCode(); + if (ExecutionTime != 0L) hash ^= ExecutionTime.GetHashCode(); + if (SuccessRate != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(SuccessRate); + if (Environment.Length != 0) hash ^= Environment.GetHashCode(); + if (Tags.Length != 0) hash ^= Tags.GetHashCode(); + if (ProjectName.Length != 0) hash ^= ProjectName.GetHashCode(); + if (Timestamp.Length != 0) hash ^= Timestamp.GetHashCode(); + if (SpecsSkippedCount != 0) hash ^= SpecsSkippedCount.GetHashCode(); + hash ^= preHookMessages_.GetHashCode(); + hash ^= postHookMessages_.GetHashCode(); + hash ^= preHookMessage_.GetHashCode(); + hash ^= postHookMessage_.GetHashCode(); + hash ^= preHookScreenshots_.GetHashCode(); + hash ^= postHookScreenshots_.GetHashCode(); + if (Chunked != false) hash ^= Chunked.GetHashCode(); + if (ChunkSize != 0L) hash ^= ChunkSize.GetHashCode(); + hash ^= preHookScreenshotFiles_.GetHashCode(); + hash ^= postHookScreenshotFiles_.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 + specResults_.WriteTo(output, _repeated_specResults_codec); + if (preHookFailure_ != null) { + output.WriteRawTag(18); + output.WriteMessage(PreHookFailure); + } + if (postHookFailure_ != null) { + output.WriteRawTag(26); + output.WriteMessage(PostHookFailure); + } + if (Failed != false) { + output.WriteRawTag(32); + output.WriteBool(Failed); + } + if (SpecsFailedCount != 0) { + output.WriteRawTag(40); + output.WriteInt32(SpecsFailedCount); + } + if (ExecutionTime != 0L) { + output.WriteRawTag(48); + output.WriteInt64(ExecutionTime); + } + if (SuccessRate != 0F) { + output.WriteRawTag(61); + output.WriteFloat(SuccessRate); + } + if (Environment.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Environment); + } + if (Tags.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Tags); + } + if (ProjectName.Length != 0) { + output.WriteRawTag(82); + output.WriteString(ProjectName); + } + if (Timestamp.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Timestamp); + } + if (SpecsSkippedCount != 0) { + output.WriteRawTag(96); + output.WriteInt32(SpecsSkippedCount); + } + preHookMessages_.WriteTo(output, _repeated_preHookMessages_codec); + postHookMessages_.WriteTo(output, _repeated_postHookMessages_codec); + preHookMessage_.WriteTo(output, _repeated_preHookMessage_codec); + postHookMessage_.WriteTo(output, _repeated_postHookMessage_codec); + preHookScreenshots_.WriteTo(output, _repeated_preHookScreenshots_codec); + postHookScreenshots_.WriteTo(output, _repeated_postHookScreenshots_codec); + if (Chunked != false) { + output.WriteRawTag(152, 1); + output.WriteBool(Chunked); + } + if (ChunkSize != 0L) { + output.WriteRawTag(160, 1); + output.WriteInt64(ChunkSize); + } + preHookScreenshotFiles_.WriteTo(output, _repeated_preHookScreenshotFiles_codec); + postHookScreenshotFiles_.WriteTo(output, _repeated_postHookScreenshotFiles_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) { + specResults_.WriteTo(ref output, _repeated_specResults_codec); + if (preHookFailure_ != null) { + output.WriteRawTag(18); + output.WriteMessage(PreHookFailure); + } + if (postHookFailure_ != null) { + output.WriteRawTag(26); + output.WriteMessage(PostHookFailure); + } + if (Failed != false) { + output.WriteRawTag(32); + output.WriteBool(Failed); + } + if (SpecsFailedCount != 0) { + output.WriteRawTag(40); + output.WriteInt32(SpecsFailedCount); + } + if (ExecutionTime != 0L) { + output.WriteRawTag(48); + output.WriteInt64(ExecutionTime); + } + if (SuccessRate != 0F) { + output.WriteRawTag(61); + output.WriteFloat(SuccessRate); + } + if (Environment.Length != 0) { + output.WriteRawTag(66); + output.WriteString(Environment); + } + if (Tags.Length != 0) { + output.WriteRawTag(74); + output.WriteString(Tags); + } + if (ProjectName.Length != 0) { + output.WriteRawTag(82); + output.WriteString(ProjectName); + } + if (Timestamp.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Timestamp); + } + if (SpecsSkippedCount != 0) { + output.WriteRawTag(96); + output.WriteInt32(SpecsSkippedCount); + } + preHookMessages_.WriteTo(ref output, _repeated_preHookMessages_codec); + postHookMessages_.WriteTo(ref output, _repeated_postHookMessages_codec); + preHookMessage_.WriteTo(ref output, _repeated_preHookMessage_codec); + postHookMessage_.WriteTo(ref output, _repeated_postHookMessage_codec); + preHookScreenshots_.WriteTo(ref output, _repeated_preHookScreenshots_codec); + postHookScreenshots_.WriteTo(ref output, _repeated_postHookScreenshots_codec); + if (Chunked != false) { + output.WriteRawTag(152, 1); + output.WriteBool(Chunked); + } + if (ChunkSize != 0L) { + output.WriteRawTag(160, 1); + output.WriteInt64(ChunkSize); + } + preHookScreenshotFiles_.WriteTo(ref output, _repeated_preHookScreenshotFiles_codec); + postHookScreenshotFiles_.WriteTo(ref output, _repeated_postHookScreenshotFiles_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 += specResults_.CalculateSize(_repeated_specResults_codec); + if (preHookFailure_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PreHookFailure); + } + if (postHookFailure_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(PostHookFailure); + } + if (Failed != false) { + size += 1 + 1; + } + if (SpecsFailedCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SpecsFailedCount); + } + if (ExecutionTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExecutionTime); + } + if (SuccessRate != 0F) { + size += 1 + 4; + } + if (Environment.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Environment); + } + if (Tags.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Tags); + } + if (ProjectName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ProjectName); + } + if (Timestamp.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Timestamp); + } + if (SpecsSkippedCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(SpecsSkippedCount); + } + size += preHookMessages_.CalculateSize(_repeated_preHookMessages_codec); + size += postHookMessages_.CalculateSize(_repeated_postHookMessages_codec); + size += preHookMessage_.CalculateSize(_repeated_preHookMessage_codec); + size += postHookMessage_.CalculateSize(_repeated_postHookMessage_codec); + size += preHookScreenshots_.CalculateSize(_repeated_preHookScreenshots_codec); + size += postHookScreenshots_.CalculateSize(_repeated_postHookScreenshots_codec); + if (Chunked != false) { + size += 2 + 1; + } + if (ChunkSize != 0L) { + size += 2 + pb::CodedOutputStream.ComputeInt64Size(ChunkSize); + } + size += preHookScreenshotFiles_.CalculateSize(_repeated_preHookScreenshotFiles_codec); + size += postHookScreenshotFiles_.CalculateSize(_repeated_postHookScreenshotFiles_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoSuiteResult other) { + if (other == null) { + return; + } + specResults_.Add(other.specResults_); + if (other.preHookFailure_ != null) { + if (preHookFailure_ == null) { + PreHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + PreHookFailure.MergeFrom(other.PreHookFailure); + } + if (other.postHookFailure_ != null) { + if (postHookFailure_ == null) { + PostHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + PostHookFailure.MergeFrom(other.PostHookFailure); + } + if (other.Failed != false) { + Failed = other.Failed; + } + if (other.SpecsFailedCount != 0) { + SpecsFailedCount = other.SpecsFailedCount; + } + if (other.ExecutionTime != 0L) { + ExecutionTime = other.ExecutionTime; + } + if (other.SuccessRate != 0F) { + SuccessRate = other.SuccessRate; + } + if (other.Environment.Length != 0) { + Environment = other.Environment; + } + if (other.Tags.Length != 0) { + Tags = other.Tags; + } + if (other.ProjectName.Length != 0) { + ProjectName = other.ProjectName; + } + if (other.Timestamp.Length != 0) { + Timestamp = other.Timestamp; + } + if (other.SpecsSkippedCount != 0) { + SpecsSkippedCount = other.SpecsSkippedCount; + } + preHookMessages_.Add(other.preHookMessages_); + postHookMessages_.Add(other.postHookMessages_); + preHookMessage_.Add(other.preHookMessage_); + postHookMessage_.Add(other.postHookMessage_); + preHookScreenshots_.Add(other.preHookScreenshots_); + postHookScreenshots_.Add(other.postHookScreenshots_); + if (other.Chunked != false) { + Chunked = other.Chunked; + } + if (other.ChunkSize != 0L) { + ChunkSize = other.ChunkSize; + } + preHookScreenshotFiles_.Add(other.preHookScreenshotFiles_); + postHookScreenshotFiles_.Add(other.postHookScreenshotFiles_); + _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: { + specResults_.AddEntriesFrom(input, _repeated_specResults_codec); + break; + } + case 18: { + if (preHookFailure_ == null) { + PreHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PreHookFailure); + break; + } + case 26: { + if (postHookFailure_ == null) { + PostHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PostHookFailure); + break; + } + case 32: { + Failed = input.ReadBool(); + break; + } + case 40: { + SpecsFailedCount = input.ReadInt32(); + break; + } + case 48: { + ExecutionTime = input.ReadInt64(); + break; + } + case 61: { + SuccessRate = input.ReadFloat(); + break; + } + case 66: { + Environment = input.ReadString(); + break; + } + case 74: { + Tags = input.ReadString(); + break; + } + case 82: { + ProjectName = input.ReadString(); + break; + } + case 90: { + Timestamp = input.ReadString(); + break; + } + case 96: { + SpecsSkippedCount = input.ReadInt32(); + break; + } + case 106: { + preHookMessages_.AddEntriesFrom(input, _repeated_preHookMessages_codec); + break; + } + case 114: { + postHookMessages_.AddEntriesFrom(input, _repeated_postHookMessages_codec); + break; + } + case 122: { + preHookMessage_.AddEntriesFrom(input, _repeated_preHookMessage_codec); + break; + } + case 130: { + postHookMessage_.AddEntriesFrom(input, _repeated_postHookMessage_codec); + break; + } + case 138: { + preHookScreenshots_.AddEntriesFrom(input, _repeated_preHookScreenshots_codec); + break; + } + case 146: { + postHookScreenshots_.AddEntriesFrom(input, _repeated_postHookScreenshots_codec); + break; + } + case 152: { + Chunked = input.ReadBool(); + break; + } + case 160: { + ChunkSize = input.ReadInt64(); + break; + } + case 170: { + preHookScreenshotFiles_.AddEntriesFrom(input, _repeated_preHookScreenshotFiles_codec); + break; + } + case 178: { + postHookScreenshotFiles_.AddEntriesFrom(input, _repeated_postHookScreenshotFiles_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: { + specResults_.AddEntriesFrom(ref input, _repeated_specResults_codec); + break; + } + case 18: { + if (preHookFailure_ == null) { + PreHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PreHookFailure); + break; + } + case 26: { + if (postHookFailure_ == null) { + PostHookFailure = new global::Gauge.Messages.ProtoHookFailure(); + } + input.ReadMessage(PostHookFailure); + break; + } + case 32: { + Failed = input.ReadBool(); + break; + } + case 40: { + SpecsFailedCount = input.ReadInt32(); + break; + } + case 48: { + ExecutionTime = input.ReadInt64(); + break; + } + case 61: { + SuccessRate = input.ReadFloat(); + break; + } + case 66: { + Environment = input.ReadString(); + break; + } + case 74: { + Tags = input.ReadString(); + break; + } + case 82: { + ProjectName = input.ReadString(); + break; + } + case 90: { + Timestamp = input.ReadString(); + break; + } + case 96: { + SpecsSkippedCount = input.ReadInt32(); + break; + } + case 106: { + preHookMessages_.AddEntriesFrom(ref input, _repeated_preHookMessages_codec); + break; + } + case 114: { + postHookMessages_.AddEntriesFrom(ref input, _repeated_postHookMessages_codec); + break; + } + case 122: { + preHookMessage_.AddEntriesFrom(ref input, _repeated_preHookMessage_codec); + break; + } + case 130: { + postHookMessage_.AddEntriesFrom(ref input, _repeated_postHookMessage_codec); + break; + } + case 138: { + preHookScreenshots_.AddEntriesFrom(ref input, _repeated_preHookScreenshots_codec); + break; + } + case 146: { + postHookScreenshots_.AddEntriesFrom(ref input, _repeated_postHookScreenshots_codec); + break; + } + case 152: { + Chunked = input.ReadBool(); + break; + } + case 160: { + ChunkSize = input.ReadInt64(); + break; + } + case 170: { + preHookScreenshotFiles_.AddEntriesFrom(ref input, _repeated_preHookScreenshotFiles_codec); + break; + } + case 178: { + postHookScreenshotFiles_.AddEntriesFrom(ref input, _repeated_postHookScreenshotFiles_codec); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing the result of Spec execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoSpecResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoSpecResult()); + 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.SpecReflection.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 ProtoSpecResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoSpecResult(ProtoSpecResult other) : this() { + protoSpec_ = other.protoSpec_ != null ? other.protoSpec_.Clone() : null; + scenarioCount_ = other.scenarioCount_; + scenarioFailedCount_ = other.scenarioFailedCount_; + failed_ = other.failed_; + failedDataTableRows_ = other.failedDataTableRows_.Clone(); + executionTime_ = other.executionTime_; + skipped_ = other.skipped_; + scenarioSkippedCount_ = other.scenarioSkippedCount_; + skippedDataTableRows_ = other.skippedDataTableRows_.Clone(); + errors_ = other.errors_.Clone(); + timestamp_ = other.timestamp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoSpecResult Clone() { + return new ProtoSpecResult(this); + } + + /// Field number for the "protoSpec" field. + public const int ProtoSpecFieldNumber = 1; + private global::Gauge.Messages.ProtoSpec protoSpec_; + /// + //// Represents the corresponding Specification + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoSpec ProtoSpec { + get { return protoSpec_; } + set { + protoSpec_ = value; + } + } + + /// Field number for the "scenarioCount" field. + public const int ScenarioCountFieldNumber = 2; + private int scenarioCount_; + /// + //// Holds the number of Scenarios executed + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ScenarioCount { + get { return scenarioCount_; } + set { + scenarioCount_ = value; + } + } + + /// Field number for the "scenarioFailedCount" field. + public const int ScenarioFailedCountFieldNumber = 3; + private int scenarioFailedCount_; + /// + //// Holds the number of Scenarios failed + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ScenarioFailedCount { + get { return scenarioFailedCount_; } + set { + scenarioFailedCount_ = value; + } + } + + /// Field number for the "failed" field. + public const int FailedFieldNumber = 4; + private bool failed_; + /// + //// Flag to indicate failure + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Failed { + get { return failed_; } + set { + failed_ = value; + } + } + + /// Field number for the "failedDataTableRows" field. + public const int FailedDataTableRowsFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_failedDataTableRows_codec + = pb::FieldCodec.ForInt32(42); + private readonly pbc::RepeatedField failedDataTableRows_ = new pbc::RepeatedField(); + /// + //// Holds the row numbers, which caused the execution to fail. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FailedDataTableRows { + get { return failedDataTableRows_; } + } + + /// Field number for the "executionTime" field. + public const int ExecutionTimeFieldNumber = 6; + private long executionTime_; + /// + //// Holds the time taken for executing the spec. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ExecutionTime { + get { return executionTime_; } + set { + executionTime_ = value; + } + } + + /// Field number for the "skipped" field. + public const int SkippedFieldNumber = 7; + private bool skipped_; + /// + //// Flag to indicate if spec is skipped + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Skipped { + get { return skipped_; } + set { + skipped_ = value; + } + } + + /// Field number for the "scenarioSkippedCount" field. + public const int ScenarioSkippedCountFieldNumber = 8; + private int scenarioSkippedCount_; + /// + //// Holds the number of Scenarios skipped + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int ScenarioSkippedCount { + get { return scenarioSkippedCount_; } + set { + scenarioSkippedCount_ = value; + } + } + + /// Field number for the "skippedDataTableRows" field. + public const int SkippedDataTableRowsFieldNumber = 9; + private static readonly pb::FieldCodec _repeated_skippedDataTableRows_codec + = pb::FieldCodec.ForInt32(74); + private readonly pbc::RepeatedField skippedDataTableRows_ = new pbc::RepeatedField(); + /// + //// Holds the row numbers, for which the execution skipped. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField SkippedDataTableRows { + get { return skippedDataTableRows_; } + } + + /// Field number for the "errors" field. + public const int ErrorsFieldNumber = 10; + private static readonly pb::FieldCodec _repeated_errors_codec + = pb::FieldCodec.ForMessage(82, global::Gauge.Messages.Error.Parser); + private readonly pbc::RepeatedField errors_ = new pbc::RepeatedField(); + /// + //// Holds parse, validation and skipped errors. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Errors { + get { return errors_; } + } + + /// Field number for the "timestamp" field. + public const int TimestampFieldNumber = 11; + private string timestamp_ = ""; + /// + //// Holds the timestamp of event starting. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timestamp { + get { return timestamp_; } + set { + timestamp_ = 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 ProtoSpecResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoSpecResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ProtoSpec, other.ProtoSpec)) return false; + if (ScenarioCount != other.ScenarioCount) return false; + if (ScenarioFailedCount != other.ScenarioFailedCount) return false; + if (Failed != other.Failed) return false; + if(!failedDataTableRows_.Equals(other.failedDataTableRows_)) return false; + if (ExecutionTime != other.ExecutionTime) return false; + if (Skipped != other.Skipped) return false; + if (ScenarioSkippedCount != other.ScenarioSkippedCount) return false; + if(!skippedDataTableRows_.Equals(other.skippedDataTableRows_)) return false; + if(!errors_.Equals(other.errors_)) return false; + if (Timestamp != other.Timestamp) 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 (protoSpec_ != null) hash ^= ProtoSpec.GetHashCode(); + if (ScenarioCount != 0) hash ^= ScenarioCount.GetHashCode(); + if (ScenarioFailedCount != 0) hash ^= ScenarioFailedCount.GetHashCode(); + if (Failed != false) hash ^= Failed.GetHashCode(); + hash ^= failedDataTableRows_.GetHashCode(); + if (ExecutionTime != 0L) hash ^= ExecutionTime.GetHashCode(); + if (Skipped != false) hash ^= Skipped.GetHashCode(); + if (ScenarioSkippedCount != 0) hash ^= ScenarioSkippedCount.GetHashCode(); + hash ^= skippedDataTableRows_.GetHashCode(); + hash ^= errors_.GetHashCode(); + if (Timestamp.Length != 0) hash ^= Timestamp.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 (protoSpec_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ProtoSpec); + } + if (ScenarioCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(ScenarioCount); + } + if (ScenarioFailedCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(ScenarioFailedCount); + } + if (Failed != false) { + output.WriteRawTag(32); + output.WriteBool(Failed); + } + failedDataTableRows_.WriteTo(output, _repeated_failedDataTableRows_codec); + if (ExecutionTime != 0L) { + output.WriteRawTag(48); + output.WriteInt64(ExecutionTime); + } + if (Skipped != false) { + output.WriteRawTag(56); + output.WriteBool(Skipped); + } + if (ScenarioSkippedCount != 0) { + output.WriteRawTag(64); + output.WriteInt32(ScenarioSkippedCount); + } + skippedDataTableRows_.WriteTo(output, _repeated_skippedDataTableRows_codec); + errors_.WriteTo(output, _repeated_errors_codec); + if (Timestamp.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Timestamp); + } + 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 (protoSpec_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ProtoSpec); + } + if (ScenarioCount != 0) { + output.WriteRawTag(16); + output.WriteInt32(ScenarioCount); + } + if (ScenarioFailedCount != 0) { + output.WriteRawTag(24); + output.WriteInt32(ScenarioFailedCount); + } + if (Failed != false) { + output.WriteRawTag(32); + output.WriteBool(Failed); + } + failedDataTableRows_.WriteTo(ref output, _repeated_failedDataTableRows_codec); + if (ExecutionTime != 0L) { + output.WriteRawTag(48); + output.WriteInt64(ExecutionTime); + } + if (Skipped != false) { + output.WriteRawTag(56); + output.WriteBool(Skipped); + } + if (ScenarioSkippedCount != 0) { + output.WriteRawTag(64); + output.WriteInt32(ScenarioSkippedCount); + } + skippedDataTableRows_.WriteTo(ref output, _repeated_skippedDataTableRows_codec); + errors_.WriteTo(ref output, _repeated_errors_codec); + if (Timestamp.Length != 0) { + output.WriteRawTag(90); + output.WriteString(Timestamp); + } + 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 (protoSpec_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProtoSpec); + } + if (ScenarioCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScenarioCount); + } + if (ScenarioFailedCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScenarioFailedCount); + } + if (Failed != false) { + size += 1 + 1; + } + size += failedDataTableRows_.CalculateSize(_repeated_failedDataTableRows_codec); + if (ExecutionTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExecutionTime); + } + if (Skipped != false) { + size += 1 + 1; + } + if (ScenarioSkippedCount != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(ScenarioSkippedCount); + } + size += skippedDataTableRows_.CalculateSize(_repeated_skippedDataTableRows_codec); + size += errors_.CalculateSize(_repeated_errors_codec); + if (Timestamp.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Timestamp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoSpecResult other) { + if (other == null) { + return; + } + if (other.protoSpec_ != null) { + if (protoSpec_ == null) { + ProtoSpec = new global::Gauge.Messages.ProtoSpec(); + } + ProtoSpec.MergeFrom(other.ProtoSpec); + } + if (other.ScenarioCount != 0) { + ScenarioCount = other.ScenarioCount; + } + if (other.ScenarioFailedCount != 0) { + ScenarioFailedCount = other.ScenarioFailedCount; + } + if (other.Failed != false) { + Failed = other.Failed; + } + failedDataTableRows_.Add(other.failedDataTableRows_); + if (other.ExecutionTime != 0L) { + ExecutionTime = other.ExecutionTime; + } + if (other.Skipped != false) { + Skipped = other.Skipped; + } + if (other.ScenarioSkippedCount != 0) { + ScenarioSkippedCount = other.ScenarioSkippedCount; + } + skippedDataTableRows_.Add(other.skippedDataTableRows_); + errors_.Add(other.errors_); + if (other.Timestamp.Length != 0) { + Timestamp = other.Timestamp; + } + _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 (protoSpec_ == null) { + ProtoSpec = new global::Gauge.Messages.ProtoSpec(); + } + input.ReadMessage(ProtoSpec); + break; + } + case 16: { + ScenarioCount = input.ReadInt32(); + break; + } + case 24: { + ScenarioFailedCount = input.ReadInt32(); + break; + } + case 32: { + Failed = input.ReadBool(); + break; + } + case 42: + case 40: { + failedDataTableRows_.AddEntriesFrom(input, _repeated_failedDataTableRows_codec); + break; + } + case 48: { + ExecutionTime = input.ReadInt64(); + break; + } + case 56: { + Skipped = input.ReadBool(); + break; + } + case 64: { + ScenarioSkippedCount = input.ReadInt32(); + break; + } + case 74: + case 72: { + skippedDataTableRows_.AddEntriesFrom(input, _repeated_skippedDataTableRows_codec); + break; + } + case 82: { + errors_.AddEntriesFrom(input, _repeated_errors_codec); + break; + } + case 90: { + Timestamp = 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: { + if (protoSpec_ == null) { + ProtoSpec = new global::Gauge.Messages.ProtoSpec(); + } + input.ReadMessage(ProtoSpec); + break; + } + case 16: { + ScenarioCount = input.ReadInt32(); + break; + } + case 24: { + ScenarioFailedCount = input.ReadInt32(); + break; + } + case 32: { + Failed = input.ReadBool(); + break; + } + case 42: + case 40: { + failedDataTableRows_.AddEntriesFrom(ref input, _repeated_failedDataTableRows_codec); + break; + } + case 48: { + ExecutionTime = input.ReadInt64(); + break; + } + case 56: { + Skipped = input.ReadBool(); + break; + } + case 64: { + ScenarioSkippedCount = input.ReadInt32(); + break; + } + case 74: + case 72: { + skippedDataTableRows_.AddEntriesFrom(ref input, _repeated_skippedDataTableRows_codec); + break; + } + case 82: { + errors_.AddEntriesFrom(ref input, _repeated_errors_codec); + break; + } + case 90: { + Timestamp = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing the result of Scenario execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoScenarioResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoScenarioResult()); + 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.SpecReflection.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 ProtoScenarioResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoScenarioResult(ProtoScenarioResult other) : this() { + protoItem_ = other.protoItem_ != null ? other.protoItem_.Clone() : null; + executionTime_ = other.executionTime_; + timestamp_ = other.timestamp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoScenarioResult Clone() { + return new ProtoScenarioResult(this); + } + + /// Field number for the "protoItem" field. + public const int ProtoItemFieldNumber = 1; + private global::Gauge.Messages.ProtoItem protoItem_; + /// + //// Collection of scenarios in scenario execution result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoItem ProtoItem { + get { return protoItem_; } + set { + protoItem_ = value; + } + } + + /// Field number for the "executionTime" field. + public const int ExecutionTimeFieldNumber = 2; + private long executionTime_; + /// + //// Holds the time taken for executing the whole suite. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ExecutionTime { + get { return executionTime_; } + set { + executionTime_ = value; + } + } + + /// Field number for the "timestamp" field. + public const int TimestampFieldNumber = 3; + private string timestamp_ = ""; + /// + //// Holds the timestamp of event starting. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timestamp { + get { return timestamp_; } + set { + timestamp_ = 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 ProtoScenarioResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoScenarioResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ProtoItem, other.ProtoItem)) return false; + if (ExecutionTime != other.ExecutionTime) return false; + if (Timestamp != other.Timestamp) 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 (protoItem_ != null) hash ^= ProtoItem.GetHashCode(); + if (ExecutionTime != 0L) hash ^= ExecutionTime.GetHashCode(); + if (Timestamp.Length != 0) hash ^= Timestamp.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 (protoItem_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ProtoItem); + } + if (ExecutionTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(ExecutionTime); + } + if (Timestamp.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Timestamp); + } + 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 (protoItem_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ProtoItem); + } + if (ExecutionTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(ExecutionTime); + } + if (Timestamp.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Timestamp); + } + 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 (protoItem_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProtoItem); + } + if (ExecutionTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExecutionTime); + } + if (Timestamp.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Timestamp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoScenarioResult other) { + if (other == null) { + return; + } + if (other.protoItem_ != null) { + if (protoItem_ == null) { + ProtoItem = new global::Gauge.Messages.ProtoItem(); + } + ProtoItem.MergeFrom(other.ProtoItem); + } + if (other.ExecutionTime != 0L) { + ExecutionTime = other.ExecutionTime; + } + if (other.Timestamp.Length != 0) { + Timestamp = other.Timestamp; + } + _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 (protoItem_ == null) { + ProtoItem = new global::Gauge.Messages.ProtoItem(); + } + input.ReadMessage(ProtoItem); + break; + } + case 16: { + ExecutionTime = input.ReadInt64(); + break; + } + case 26: { + Timestamp = 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: { + if (protoItem_ == null) { + ProtoItem = new global::Gauge.Messages.ProtoItem(); + } + input.ReadMessage(ProtoItem); + break; + } + case 16: { + ExecutionTime = input.ReadInt64(); + break; + } + case 26: { + Timestamp = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing the result of Step execution. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoStepResult : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoStepResult()); + 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.SpecReflection.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 ProtoStepResult() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoStepResult(ProtoStepResult other) : this() { + protoItem_ = other.protoItem_ != null ? other.protoItem_.Clone() : null; + executionTime_ = other.executionTime_; + timestamp_ = other.timestamp_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoStepResult Clone() { + return new ProtoStepResult(this); + } + + /// Field number for the "protoItem" field. + public const int ProtoItemFieldNumber = 1; + private global::Gauge.Messages.ProtoItem protoItem_; + /// + //// Collection of steps in step execution result. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.ProtoItem ProtoItem { + get { return protoItem_; } + set { + protoItem_ = value; + } + } + + /// Field number for the "executionTime" field. + public const int ExecutionTimeFieldNumber = 2; + private long executionTime_; + /// + //// Holds the time taken for executing the whole suite. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long ExecutionTime { + get { return executionTime_; } + set { + executionTime_ = value; + } + } + + /// Field number for the "timestamp" field. + public const int TimestampFieldNumber = 3; + private string timestamp_ = ""; + /// + //// Holds the timestamp of event starting. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Timestamp { + get { return timestamp_; } + set { + timestamp_ = 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 ProtoStepResult); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoStepResult other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (!object.Equals(ProtoItem, other.ProtoItem)) return false; + if (ExecutionTime != other.ExecutionTime) return false; + if (Timestamp != other.Timestamp) 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 (protoItem_ != null) hash ^= ProtoItem.GetHashCode(); + if (ExecutionTime != 0L) hash ^= ExecutionTime.GetHashCode(); + if (Timestamp.Length != 0) hash ^= Timestamp.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 (protoItem_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ProtoItem); + } + if (ExecutionTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(ExecutionTime); + } + if (Timestamp.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Timestamp); + } + 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 (protoItem_ != null) { + output.WriteRawTag(10); + output.WriteMessage(ProtoItem); + } + if (ExecutionTime != 0L) { + output.WriteRawTag(16); + output.WriteInt64(ExecutionTime); + } + if (Timestamp.Length != 0) { + output.WriteRawTag(26); + output.WriteString(Timestamp); + } + 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 (protoItem_ != null) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(ProtoItem); + } + if (ExecutionTime != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ExecutionTime); + } + if (Timestamp.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Timestamp); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoStepResult other) { + if (other == null) { + return; + } + if (other.protoItem_ != null) { + if (protoItem_ == null) { + ProtoItem = new global::Gauge.Messages.ProtoItem(); + } + ProtoItem.MergeFrom(other.ProtoItem); + } + if (other.ExecutionTime != 0L) { + ExecutionTime = other.ExecutionTime; + } + if (other.Timestamp.Length != 0) { + Timestamp = other.Timestamp; + } + _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 (protoItem_ == null) { + ProtoItem = new global::Gauge.Messages.ProtoItem(); + } + input.ReadMessage(ProtoItem); + break; + } + case 16: { + ExecutionTime = input.ReadInt64(); + break; + } + case 26: { + Timestamp = 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: { + if (protoItem_ == null) { + ProtoItem = new global::Gauge.Messages.ProtoItem(); + } + input.ReadMessage(ProtoItem); + break; + } + case 16: { + ExecutionTime = input.ReadInt64(); + break; + } + case 26: { + Timestamp = input.ReadString(); + break; + } + } + } + } + #endif + + } + + /// + //// A proto object representing an error in spec/Scenario. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class Error : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Error()); + 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.SpecReflection.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 Error() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Error(Error other) : this() { + type_ = other.type_; + filename_ = other.filename_; + lineNumber_ = other.lineNumber_; + message_ = other.message_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public Error Clone() { + return new Error(this); + } + + /// Field number for the "type" field. + public const int TypeFieldNumber = 1; + private global::Gauge.Messages.Error.Types.ErrorType type_ = global::Gauge.Messages.Error.Types.ErrorType.ParseError; + /// + //// Holds the type of error + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::Gauge.Messages.Error.Types.ErrorType Type { + get { return type_; } + set { + type_ = value; + } + } + + /// Field number for the "filename" field. + public const int FilenameFieldNumber = 2; + private string filename_ = ""; + /// + //// Holds the filename. + /// + [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 "lineNumber" field. + public const int LineNumberFieldNumber = 3; + private int lineNumber_; + /// + //// Holds the line number of the error in file. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int LineNumber { + get { return lineNumber_; } + set { + lineNumber_ = value; + } + } + + /// Field number for the "message" field. + public const int MessageFieldNumber = 4; + private string message_ = ""; + /// + //// Holds the error message. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Message { + get { return message_; } + set { + message_ = 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 Error); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(Error other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Type != other.Type) return false; + if (Filename != other.Filename) return false; + if (LineNumber != other.LineNumber) return false; + if (Message != other.Message) 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 (Type != global::Gauge.Messages.Error.Types.ErrorType.ParseError) hash ^= Type.GetHashCode(); + if (Filename.Length != 0) hash ^= Filename.GetHashCode(); + if (LineNumber != 0) hash ^= LineNumber.GetHashCode(); + if (Message.Length != 0) hash ^= Message.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 (Type != global::Gauge.Messages.Error.Types.ErrorType.ParseError) { + output.WriteRawTag(8); + output.WriteEnum((int) Type); + } + if (Filename.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filename); + } + if (LineNumber != 0) { + output.WriteRawTag(24); + output.WriteInt32(LineNumber); + } + if (Message.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Message); + } + 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 (Type != global::Gauge.Messages.Error.Types.ErrorType.ParseError) { + output.WriteRawTag(8); + output.WriteEnum((int) Type); + } + if (Filename.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Filename); + } + if (LineNumber != 0) { + output.WriteRawTag(24); + output.WriteInt32(LineNumber); + } + if (Message.Length != 0) { + output.WriteRawTag(34); + output.WriteString(Message); + } + 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 (Type != global::Gauge.Messages.Error.Types.ErrorType.ParseError) { + size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type); + } + if (Filename.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Filename); + } + if (LineNumber != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(LineNumber); + } + if (Message.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Message); + } + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(Error other) { + if (other == null) { + return; + } + if (other.Type != global::Gauge.Messages.Error.Types.ErrorType.ParseError) { + Type = other.Type; + } + if (other.Filename.Length != 0) { + Filename = other.Filename; + } + if (other.LineNumber != 0) { + LineNumber = other.LineNumber; + } + if (other.Message.Length != 0) { + Message = other.Message; + } + _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: { + Type = (global::Gauge.Messages.Error.Types.ErrorType) input.ReadEnum(); + break; + } + case 18: { + Filename = input.ReadString(); + break; + } + case 24: { + LineNumber = input.ReadInt32(); + break; + } + case 34: { + Message = 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 8: { + Type = (global::Gauge.Messages.Error.Types.ErrorType) input.ReadEnum(); + break; + } + case 18: { + Filename = input.ReadString(); + break; + } + case 24: { + LineNumber = input.ReadInt32(); + break; + } + case 34: { + Message = input.ReadString(); + break; + } + } + } + } + #endif + + #region Nested types + /// Container for nested types declared in the Error message type. + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public static partial class Types { + public enum ErrorType { + [pbr::OriginalName("PARSE_ERROR")] ParseError = 0, + [pbr::OriginalName("VALIDATION_ERROR")] ValidationError = 1, + } + + } + #endregion + + } + + /// + //// A proto object representing a Step value. + /// + [global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")] + public sealed partial class ProtoStepValue : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProtoStepValue()); + 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.SpecReflection.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 ProtoStepValue() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoStepValue(ProtoStepValue other) : this() { + stepValue_ = other.stepValue_; + parameterizedStepValue_ = other.parameterizedStepValue_; + parameters_ = other.parameters_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ProtoStepValue Clone() { + return new ProtoStepValue(this); + } + + /// Field number for the "stepValue" field. + public const int StepValueFieldNumber = 1; + private string stepValue_ = ""; + /// + //// The actual string value describing he Step + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string StepValue { + get { return stepValue_; } + set { + stepValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "parameterizedStepValue" field. + public const int ParameterizedStepValueFieldNumber = 2; + private string parameterizedStepValue_ = ""; + /// + //// The parameterized string value describing he Step. The parameters are replaced with placeholders. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string ParameterizedStepValue { + get { return parameterizedStepValue_; } + set { + parameterizedStepValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "parameters" field. + public const int ParametersFieldNumber = 3; + private static readonly pb::FieldCodec _repeated_parameters_codec + = pb::FieldCodec.ForString(26); + private readonly pbc::RepeatedField parameters_ = new pbc::RepeatedField(); + /// + //// A collection of strings representing the parameters. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Parameters { + get { return parameters_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ProtoStepValue); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ProtoStepValue other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (StepValue != other.StepValue) return false; + if (ParameterizedStepValue != other.ParameterizedStepValue) return false; + if(!parameters_.Equals(other.parameters_)) 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.Length != 0) hash ^= StepValue.GetHashCode(); + if (ParameterizedStepValue.Length != 0) hash ^= ParameterizedStepValue.GetHashCode(); + hash ^= parameters_.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.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StepValue); + } + if (ParameterizedStepValue.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ParameterizedStepValue); + } + parameters_.WriteTo(output, _repeated_parameters_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 (StepValue.Length != 0) { + output.WriteRawTag(10); + output.WriteString(StepValue); + } + if (ParameterizedStepValue.Length != 0) { + output.WriteRawTag(18); + output.WriteString(ParameterizedStepValue); + } + parameters_.WriteTo(ref output, _repeated_parameters_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 (StepValue.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(StepValue); + } + if (ParameterizedStepValue.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ParameterizedStepValue); + } + size += parameters_.CalculateSize(_repeated_parameters_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ProtoStepValue other) { + if (other == null) { + return; + } + if (other.StepValue.Length != 0) { + StepValue = other.StepValue; + } + if (other.ParameterizedStepValue.Length != 0) { + ParameterizedStepValue = other.ParameterizedStepValue; + } + parameters_.Add(other.parameters_); + _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: { + StepValue = input.ReadString(); + break; + } + case 18: { + ParameterizedStepValue = input.ReadString(); + break; + } + case 26: { + parameters_.AddEntriesFrom(input, _repeated_parameters_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: { + StepValue = input.ReadString(); + break; + } + case 18: { + ParameterizedStepValue = input.ReadString(); + break; + } + case 26: { + parameters_.AddEntriesFrom(ref input, _repeated_parameters_codec); + break; + } + } + } + } + #endif + + } + + #endregion + +} + +#endregion Designer generated code diff --git a/src/Gauge.CSharp.Core/TcpClientWrapper.cs b/src/Gauge.CSharp.Core/TcpClientWrapper.cs new file mode 100644 index 0000000..9f4c988 --- /dev/null +++ b/src/Gauge.CSharp.Core/TcpClientWrapper.cs @@ -0,0 +1,41 @@ +/*---------------------------------------------------------------- + * 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.IO; +using System.Net; +using System.Net.Sockets; + +namespace Gauge.CSharp.Core +{ + public class TcpClientWrapper : ITcpClientWrapper + { + private readonly TcpClient _tcpClient = new TcpClient(); + + public TcpClientWrapper(int port) + { + try + { + _tcpClient.Connect(new IPEndPoint(IPAddress.Loopback, port)); + } + catch (Exception e) + { + throw new Exception("Could not connect", e); + } + } + + public bool Connected => _tcpClient.Connected; + + public Stream GetStream() + { + return _tcpClient.GetStream(); + } + + public void Close() + { + _tcpClient.Close(); + } + } +} \ No newline at end of file diff --git a/src/Gauge.CSharp.Core/Utils.cs b/src/Gauge.CSharp.Core/Utils.cs new file mode 100644 index 0000000..2179427 --- /dev/null +++ b/src/Gauge.CSharp.Core/Utils.cs @@ -0,0 +1,70 @@ +/*---------------------------------------------------------------- + * 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.IO; + +namespace Gauge.CSharp.Core +{ + public class Utils + { + private const string GaugePortEnv = "GAUGE_INTERNAL_PORT"; + private const string GaugeApiPortEnv = "GAUGE_API_PORT"; + private const string GaugeProjectRootEnv = "GAUGE_PROJECT_ROOT"; + private const string GaugeCustomBuildPath = "GAUGE_CUSTOM_BUILD_PATH"; + + + public static int GaugePort => Convert.ToInt32(ReadEnvValue(GaugePortEnv)); + + public static string GaugeProjectRoot => ReadEnvValue(GaugeProjectRootEnv); + + public static int GaugeApiPort => Convert.ToInt32(ReadEnvValue(GaugeApiPortEnv)); + + public static string ReadEnvValue(string env) + { + var envValue = TryReadEnvValue(env); + if (envValue == null) + throw new Exception(env + " is not set"); + return envValue; + } + + public static string TryReadEnvValue(string env) + { + if (env == null) + throw new ArgumentNullException("env"); + + var envValue = Environment.GetEnvironmentVariable(env.ToUpper()); + if (string.IsNullOrEmpty(envValue)) + { + envValue = Environment.GetEnvironmentVariable(env.ToLower()); + if (string.IsNullOrEmpty(envValue)) return null; + } + return envValue; + } + + public static string GetGaugeBinDir() + { + var customBuildPath = TryReadEnvValue(GaugeCustomBuildPath); + if (string.IsNullOrEmpty(customBuildPath)) + return Path.Combine(GaugeProjectRoot, "gauge_bin"); + try + { + return IsAbsoluteUrl(customBuildPath) + ? customBuildPath + : Path.Combine(GaugeProjectRoot, customBuildPath); + } + catch (Exception) + { + return Path.Combine(GaugeProjectRoot, "gauge_bin"); + } + } + + public static bool IsAbsoluteUrl(string url) + { + Uri result; + return Uri.TryCreate(url, UriKind.Absolute, out result); + } + } +} \ No newline at end of file diff --git a/src/Gauge.Dotnet.csproj b/src/Gauge.Dotnet.csproj index 7fdfefd..2baed30 100644 --- a/src/Gauge.Dotnet.csproj +++ b/src/Gauge.Dotnet.csproj @@ -5,7 +5,7 @@ net6.0;net7.0;net8.0 Runner.NetCore30 The Gauge Team - 0.5.3 + 0.5.5 ThoughtWorks Inc. Gauge C# runner for Gauge. https://gauge.org @@ -23,12 +23,17 @@ - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive + all + all runtime; build; native; contentfiles; analyzers; buildtransitive + + diff --git a/src/HookExecutor.cs b/src/HookExecutor.cs index b391ee0..8ef522f 100644 --- a/src/HookExecutor.cs +++ b/src/HookExecutor.cs @@ -101,6 +101,10 @@ private IEnumerable GetHooksFromRegistry(string hookType) return _registry.BeforeStepHooks; case "AfterStep": return _registry.AfterStepHooks; + case "BeforeConcept": + return _registry.BeforeConceptHooks; + case "AfterConcept": + return _registry.AfterConceptHooks; case "AfterScenario": return _registry.AfterScenarioHooks; case "AfterSpec": diff --git a/src/LibType.cs b/src/LibType.cs index 14556fe..e67d5fb 100644 --- a/src/LibType.cs +++ b/src/LibType.cs @@ -18,6 +18,8 @@ public enum LibType BeforeScenario, BeforeStep, AfterStep, + BeforeConcept, + AfterConcept, AfterScenario, AfterSpec, AfterSuite, @@ -44,6 +46,8 @@ public static class LibTypeExtensions {LibType.BeforeScenario, "Gauge.CSharp.Lib.Attribute.BeforeScenario"}, {LibType.BeforeStep, "Gauge.CSharp.Lib.Attribute.BeforeStep"}, {LibType.AfterStep, "Gauge.CSharp.Lib.Attribute.AfterStep"}, + {LibType.BeforeConcept, "Gauge.CSharp.Lib.Attribute.BeforeConcept"}, + {LibType.AfterConcept, "Gauge.CSharp.Lib.Attribute.AfterConcept"}, {LibType.AfterScenario, "Gauge.CSharp.Lib.Attribute.AfterScenario"}, {LibType.AfterSpec, "Gauge.CSharp.Lib.Attribute.AfterSpec"}, {LibType.AfterSuite, "Gauge.CSharp.Lib.Attribute.AfterSuite"}, diff --git a/src/Models/HookRegistry.cs b/src/Models/HookRegistry.cs index a62304d..ea654ee 100644 --- a/src/Models/HookRegistry.cs +++ b/src/Models/HookRegistry.cs @@ -33,7 +33,9 @@ public HookRegistry(IAssemblyLoader assemblyLoader) {LibType.BeforeScenario, new HashSet()}, {LibType.AfterScenario, new HashSet()}, {LibType.BeforeStep, new HashSet()}, - {LibType.AfterStep, new HashSet()} + {LibType.AfterStep, new HashSet()}, + {LibType.BeforeConcept, new HashSet()}, + {LibType.AfterConcept, new HashSet()} }; foreach (var type in _hooks.Keys) @@ -56,6 +58,10 @@ public HookRegistry(IAssemblyLoader assemblyLoader) public HashSet AfterStepHooks => _hooks[LibType.AfterStep]; + public HashSet BeforeConceptHooks => _hooks[LibType.BeforeConcept]; + + public HashSet AfterConceptHooks => _hooks[LibType.AfterConcept]; + public MethodInfo MethodFor(string method) { return _methodMap[method]; diff --git a/src/Models/IHookRegistry.cs b/src/Models/IHookRegistry.cs index dec1a79..ea3f31e 100644 --- a/src/Models/IHookRegistry.cs +++ b/src/Models/IHookRegistry.cs @@ -20,6 +20,8 @@ public interface IHookRegistry HashSet AfterScenarioHooks { get; } HashSet BeforeStepHooks { get; } HashSet AfterStepHooks { get; } + HashSet BeforeConceptHooks { get; } + HashSet AfterConceptHooks { get; } MethodInfo MethodFor(string method); } } \ No newline at end of file diff --git a/src/Processors/ConceptExecutionEndingProcessor.cs b/src/Processors/ConceptExecutionEndingProcessor.cs new file mode 100644 index 0000000..3e558e0 --- /dev/null +++ b/src/Processors/ConceptExecutionEndingProcessor.cs @@ -0,0 +1,34 @@ +/*---------------------------------------------------------------- + * 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; + +namespace Gauge.Dotnet.Processors +{ + public class ConceptExecutionEndingProcessor : TaggedHooksFirstExecutionProcessor + { + public ConceptExecutionEndingProcessor(IExecutionOrchestrator executionOrchestrator) + : base(executionOrchestrator) + { + } + + protected override string HookType => "AfterConcept"; + + public Empty Process(ConceptExecutionEndingRequest request) + { + base.ExecuteHooks(request.CurrentExecutionInfo); + return new Empty(); + } + + protected override List GetApplicableTags(ExecutionInfo info) + { + return info.CurrentScenario.Tags.Union(info.CurrentSpec.Tags).ToList(); + } + } +} \ No newline at end of file diff --git a/src/Processors/ConceptExecutionStartingProcessor.cs b/src/Processors/ConceptExecutionStartingProcessor.cs new file mode 100644 index 0000000..adcc158 --- /dev/null +++ b/src/Processors/ConceptExecutionStartingProcessor.cs @@ -0,0 +1,34 @@ +/*---------------------------------------------------------------- + * 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; + +namespace Gauge.Dotnet.Processors +{ + public class ConceptExecutionStartingProcessor : UntaggedHooksFirstExecutionProcessor + { + public ConceptExecutionStartingProcessor(IExecutionOrchestrator executionOrchestrator) + : base(executionOrchestrator) + { + } + + protected override string HookType => "BeforeConcept"; + + public Empty Process(ConceptExecutionStartingRequest request) + { + ExecuteHooks(request.CurrentExecutionInfo); + return new Empty(); + } + + protected override List GetApplicableTags(ExecutionInfo info) + { + return info.CurrentScenario.Tags.Union(info.CurrentSpec.Tags).ToList(); + } + } +} \ No newline at end of file diff --git a/src/dotnet.json b/src/dotnet.json index b2c6614..06e10be 100644 --- a/src/dotnet.json +++ b/src/dotnet.json @@ -1,6 +1,6 @@ { "id": "dotnet", - "version": "0.5.3", + "version": "0.5.5", "description": "C# support for gauge + .NET 6.0/7.0/8.0", "run": { "windows": [ @@ -36,5 +36,6 @@ }, "lspLangId": "csharp", "gRPCSupport": true, - "multithreaded": true + "multithreaded": true, + "conceptMessages": true } diff --git a/test/ExecutionInfoMapperTests.cs b/test/ExecutionInfoMapperTests.cs index 44e1d1b..e5a6fd9 100644 --- a/test/ExecutionInfoMapperTests.cs +++ b/test/ExecutionInfoMapperTests.cs @@ -74,7 +74,8 @@ public void ShouldMapStepDetails() { var mockActivatorWrapper = new Mock(); mockActivatorWrapper.Setup(x => x.CreateInstance(typeof(ExecutionContext.StepDetails), - executionInfo.CurrentStep.Step.ActualStepText, executionInfo.CurrentStep.IsFailed)).Verifiable(); + executionInfo.CurrentStep.Step.ActualStepText, executionInfo.CurrentStep.IsFailed, + executionInfo.CurrentStep.StackTrace, executionInfo.CurrentStep.ErrorMessage)).Verifiable(); new ExecutionInfoMapper(mockAssemblyLoader.Object, mockActivatorWrapper.Object).ExecutionContextFrom(executionInfo); mockActivatorWrapper.VerifyAll(); } diff --git a/test/HookRegistryTests.cs b/test/HookRegistryTests.cs index c048a53..a3905bd 100644 --- a/test/HookRegistryTests.cs +++ b/test/HookRegistryTests.cs @@ -26,7 +26,8 @@ public void Setup() var types = new[] { LibType.BeforeScenario, LibType.AfterScenario, LibType.BeforeSpec, LibType.AfterSpec, - LibType.BeforeStep, LibType.AfterStep, LibType.BeforeSuite, LibType.AfterSuite + LibType.BeforeStep, LibType.AfterStep, LibType.BeforeConcept, LibType.AfterConcept, + LibType.BeforeSuite, LibType.AfterSuite }; foreach (var type in types) {