diff --git a/Client.IntegrationTests/ZeebeIntegrationTestHelper.cs b/Client.IntegrationTests/ZeebeIntegrationTestHelper.cs index 4818e9a6..1e8671f9 100644 --- a/Client.IntegrationTests/ZeebeIntegrationTestHelper.cs +++ b/Client.IntegrationTests/ZeebeIntegrationTestHelper.cs @@ -14,7 +14,7 @@ namespace Client.IntegrationTests { public class ZeebeIntegrationTestHelper { - public const string LatestVersion = "8.2.12"; + public const string LatestVersion = "8.3.0"; private const ushort ZeebePort = 26500; diff --git a/Client/Client.csproj b/Client/Client.csproj index 39ffd9f8..92671360 100644 --- a/Client/Client.csproj +++ b/Client/Client.csproj @@ -2,7 +2,7 @@ net6.0;net7.0 - 2.2.0 + 2.3.0 Christopher Zell @@ -13,18 +13,19 @@ For more information about the zeebe project please visit http://zeebe.iohttps://github.com/zeebe-io/zeebe-client-csharp zeebe, zb, zb-csharp, zb-client, grpc - 2.2.0 - 2.2.0 + 2.3.0 + 2.3.0 Features: - * Add multi-target support for .net 6.0 and .net 7.0 + * Add vars to ThrowError - GRPC protocol as generated against Zeebe v8.2.12. + +GRPC protocol as generated against Zeebe v8.3.0 ----- -This release is based on the Zeebe 8.2.12 release (https://github.com/zeebe-io/zeebe). +This release is based on the Zeebe 8.3.0 release (https://github.com/zeebe-io/zeebe). true true @@ -34,9 +35,9 @@ This release is based on the Zeebe 8.2.12 release (https://github.com/zeebe-io/z git Apache-2.0 icon.png - 2.2.0 + 2.3.0 Zeebe.Client - 2.2.0 + 2.3.0 default README.md diff --git a/Client/Impl/proto/Gateway.cs b/Client/Impl/proto/Gateway.cs index 9fda117f..f7a01909 100644 --- a/Client/Impl/proto/Gateway.cs +++ b/Client/Impl/proto/Gateway.cs @@ -24,212 +24,229 @@ public static partial class GatewayReflection { static GatewayReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Cg1nYXRld2F5LnByb3RvEhBnYXRld2F5X3Byb3RvY29sIo4BChNBY3RpdmF0", - "ZUpvYnNSZXF1ZXN0EgwK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orData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ActivateJobsRequest), global::GatewayProtocol.ActivateJobsRequest.Parser, new[]{ "Type", "Worker", "Timeout", "MaxJobsToActivate", "FetchVariable", "RequestTimeout" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.StreamActivatedJobsRequest), global::GatewayProtocol.StreamActivatedJobsRequest.Parser, new[]{ "Type", "Worker", "Timeout", "FetchVariable", "TenantIds" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ActivateJobsRequest), global::GatewayProtocol.ActivateJobsRequest.Parser, new[]{ "Type", "Worker", "Timeout", "MaxJobsToActivate", "FetchVariable", "RequestTimeout", "TenantIds" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ActivateJobsResponse), global::GatewayProtocol.ActivateJobsResponse.Parser, new[]{ "Jobs" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ActivatedJob), global::GatewayProtocol.ActivatedJob.Parser, new[]{ "Key", "Type", "ProcessInstanceKey", "BpmnProcessId", "ProcessDefinitionVersion", "ProcessDefinitionKey", "ElementId", "ElementInstanceKey", "CustomHeaders", "Worker", "Retries", "Deadline", "Variables" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ActivatedJob), global::GatewayProtocol.ActivatedJob.Parser, new[]{ "Key", "Type", "ProcessInstanceKey", "BpmnProcessId", "ProcessDefinitionVersion", "ProcessDefinitionKey", "ElementId", "ElementInstanceKey", "CustomHeaders", "Worker", "Retries", "Deadline", "Variables", "TenantId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CancelProcessInstanceRequest), global::GatewayProtocol.CancelProcessInstanceRequest.Parser, new[]{ "ProcessInstanceKey" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CancelProcessInstanceResponse), global::GatewayProtocol.CancelProcessInstanceResponse.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CompleteJobRequest), global::GatewayProtocol.CompleteJobRequest.Parser, new[]{ "JobKey", "Variables" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CompleteJobResponse), global::GatewayProtocol.CompleteJobResponse.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CreateProcessInstanceRequest), global::GatewayProtocol.CreateProcessInstanceRequest.Parser, new[]{ "ProcessDefinitionKey", "BpmnProcessId", "Version", "Variables", "StartInstructions" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CreateProcessInstanceRequest), global::GatewayProtocol.CreateProcessInstanceRequest.Parser, new[]{ "ProcessDefinitionKey", "BpmnProcessId", "Version", "Variables", "StartInstructions", "TenantId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ProcessInstanceCreationStartInstruction), global::GatewayProtocol.ProcessInstanceCreationStartInstruction.Parser, new[]{ "ElementId" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CreateProcessInstanceResponse), global::GatewayProtocol.CreateProcessInstanceResponse.Parser, new[]{ "ProcessDefinitionKey", "BpmnProcessId", "Version", "ProcessInstanceKey" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CreateProcessInstanceResponse), global::GatewayProtocol.CreateProcessInstanceResponse.Parser, new[]{ "ProcessDefinitionKey", "BpmnProcessId", "Version", "ProcessInstanceKey", "TenantId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CreateProcessInstanceWithResultRequest), global::GatewayProtocol.CreateProcessInstanceWithResultRequest.Parser, new[]{ "Request", "RequestTimeout", "FetchVariables" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CreateProcessInstanceWithResultResponse), global::GatewayProtocol.CreateProcessInstanceWithResultResponse.Parser, new[]{ "ProcessDefinitionKey", "BpmnProcessId", "Version", "ProcessInstanceKey", "Variables" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.EvaluateDecisionRequest), global::GatewayProtocol.EvaluateDecisionRequest.Parser, new[]{ "DecisionKey", "DecisionId", "Variables" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.EvaluateDecisionResponse), global::GatewayProtocol.EvaluateDecisionResponse.Parser, new[]{ "DecisionKey", "DecisionId", "DecisionName", "DecisionVersion", "DecisionRequirementsId", "DecisionRequirementsKey", "DecisionOutput", "EvaluatedDecisions", "FailedDecisionId", "FailureMessage" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.EvaluatedDecision), global::GatewayProtocol.EvaluatedDecision.Parser, new[]{ "DecisionKey", "DecisionId", "DecisionName", "DecisionVersion", "DecisionType", "DecisionOutput", "MatchedRules", "EvaluatedInputs" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.CreateProcessInstanceWithResultResponse), global::GatewayProtocol.CreateProcessInstanceWithResultResponse.Parser, new[]{ "ProcessDefinitionKey", "BpmnProcessId", "Version", "ProcessInstanceKey", "Variables", "TenantId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.EvaluateDecisionRequest), global::GatewayProtocol.EvaluateDecisionRequest.Parser, new[]{ "DecisionKey", "DecisionId", "Variables", "TenantId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.EvaluateDecisionResponse), global::GatewayProtocol.EvaluateDecisionResponse.Parser, new[]{ "DecisionKey", "DecisionId", "DecisionName", "DecisionVersion", "DecisionRequirementsId", "DecisionRequirementsKey", "DecisionOutput", "EvaluatedDecisions", "FailedDecisionId", "FailureMessage", "TenantId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.EvaluatedDecision), global::GatewayProtocol.EvaluatedDecision.Parser, new[]{ "DecisionKey", "DecisionId", "DecisionName", "DecisionVersion", "DecisionType", "DecisionOutput", "MatchedRules", "EvaluatedInputs", "TenantId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.EvaluatedDecisionInput), global::GatewayProtocol.EvaluatedDecisionInput.Parser, new[]{ "InputId", "InputName", "InputValue" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.EvaluatedDecisionOutput), global::GatewayProtocol.EvaluatedDecisionOutput.Parser, new[]{ "OutputId", "OutputName", "OutputValue" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.MatchedDecisionRule), global::GatewayProtocol.MatchedDecisionRule.Parser, new[]{ "RuleId", "RuleIndex", "EvaluatedOutputs" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.DeployProcessRequest), global::GatewayProtocol.DeployProcessRequest.Parser, new[]{ "Processes" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ProcessRequestObject), global::GatewayProtocol.ProcessRequestObject.Parser, new[]{ "Name", "Definition" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.DeployProcessResponse), global::GatewayProtocol.DeployProcessResponse.Parser, new[]{ "Key", "Processes" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.DeployResourceRequest), global::GatewayProtocol.DeployResourceRequest.Parser, new[]{ "Resources" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.DeployResourceRequest), global::GatewayProtocol.DeployResourceRequest.Parser, new[]{ "Resources", "TenantId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.Resource), global::GatewayProtocol.Resource.Parser, new[]{ "Name", "Content" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.DeployResourceResponse), global::GatewayProtocol.DeployResourceResponse.Parser, new[]{ "Key", "Deployments" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.Deployment), global::GatewayProtocol.Deployment.Parser, new[]{ "Process", "Decision", "DecisionRequirements" }, new[]{ "Metadata" }, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ProcessMetadata), global::GatewayProtocol.ProcessMetadata.Parser, new[]{ "BpmnProcessId", "Version", "ProcessDefinitionKey", "ResourceName" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.DecisionMetadata), global::GatewayProtocol.DecisionMetadata.Parser, new[]{ "DmnDecisionId", "DmnDecisionName", "Version", "DecisionKey", "DmnDecisionRequirementsId", "DecisionRequirementsKey" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.DecisionRequirementsMetadata), global::GatewayProtocol.DecisionRequirementsMetadata.Parser, new[]{ "DmnDecisionRequirementsId", "DmnDecisionRequirementsName", "Version", "DecisionRequirementsKey", "ResourceName" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.DeployResourceResponse), global::GatewayProtocol.DeployResourceResponse.Parser, new[]{ "Key", "Deployments", "TenantId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.Deployment), global::GatewayProtocol.Deployment.Parser, new[]{ "Process", "Decision", "DecisionRequirements", "Form" }, new[]{ "Metadata" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ProcessMetadata), global::GatewayProtocol.ProcessMetadata.Parser, new[]{ "BpmnProcessId", "Version", "ProcessDefinitionKey", "ResourceName", "TenantId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.DecisionMetadata), global::GatewayProtocol.DecisionMetadata.Parser, new[]{ "DmnDecisionId", "DmnDecisionName", "Version", "DecisionKey", "DmnDecisionRequirementsId", "DecisionRequirementsKey", "TenantId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.DecisionRequirementsMetadata), global::GatewayProtocol.DecisionRequirementsMetadata.Parser, new[]{ "DmnDecisionRequirementsId", "DmnDecisionRequirementsName", "Version", "DecisionRequirementsKey", "ResourceName", "TenantId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.FormMetadata), global::GatewayProtocol.FormMetadata.Parser, new[]{ "FormId", "Version", "FormKey", "ResourceName", "TenantId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.FailJobRequest), global::GatewayProtocol.FailJobRequest.Parser, new[]{ "JobKey", "Retries", "ErrorMessage", "RetryBackOff", "Variables" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.FailJobResponse), global::GatewayProtocol.FailJobResponse.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ThrowErrorRequest), global::GatewayProtocol.ThrowErrorRequest.Parser, new[]{ "JobKey", "ErrorCode", "ErrorMessage", "Variables" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ThrowErrorResponse), global::GatewayProtocol.ThrowErrorResponse.Parser, null, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.PublishMessageRequest), global::GatewayProtocol.PublishMessageRequest.Parser, new[]{ "Name", "CorrelationKey", "TimeToLive", "MessageId", "Variables" }, null, null, null, null), - new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.PublishMessageResponse), global::GatewayProtocol.PublishMessageResponse.Parser, new[]{ "Key" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.PublishMessageRequest), global::GatewayProtocol.PublishMessageRequest.Parser, new[]{ "Name", "CorrelationKey", "TimeToLive", "MessageId", "Variables", "TenantId" }, null, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.PublishMessageResponse), global::GatewayProtocol.PublishMessageResponse.Parser, new[]{ "Key", "TenantId" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ResolveIncidentRequest), global::GatewayProtocol.ResolveIncidentRequest.Parser, new[]{ "IncidentKey" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.ResolveIncidentResponse), global::GatewayProtocol.ResolveIncidentResponse.Parser, null, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::GatewayProtocol.TopologyRequest), global::GatewayProtocol.TopologyRequest.Parser, null, null, null, null, null), @@ -254,16 +271,16 @@ static GatewayReflection() { } #region Messages - public sealed partial class ActivateJobsRequest : pb::IMessage + public sealed partial class StreamActivatedJobsRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActivateJobsRequest()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new StreamActivatedJobsRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -279,7 +296,7 @@ public sealed partial class ActivateJobsRequest : pb::IMessageField number for the "type" field. @@ -350,21 +366,6 @@ public long Timeout { } } - /// Field number for the "maxJobsToActivate" field. - public const int MaxJobsToActivateFieldNumber = 4; - private int maxJobsToActivate_; - /// - /// the maximum jobs to activate by this request - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public int MaxJobsToActivate { - get { return maxJobsToActivate_; } - set { - maxJobsToActivate_ = value; - } - } - /// Field number for the "fetchVariable" field. public const int FetchVariableFieldNumber = 5; private static readonly pb::FieldCodec _repeated_fetchVariable_codec @@ -380,32 +381,29 @@ public int MaxJobsToActivate { get { return fetchVariable_; } } - /// Field number for the "requestTimeout" field. - public const int RequestTimeoutFieldNumber = 6; - private long requestTimeout_; + /// Field number for the "tenantIds" field. + public const int TenantIdsFieldNumber = 6; + private static readonly pb::FieldCodec _repeated_tenantIds_codec + = pb::FieldCodec.ForString(50); + private readonly pbc::RepeatedField tenantIds_ = new pbc::RepeatedField(); /// - /// The request will be completed when at least one job is activated or after the requestTimeout (in ms). - /// if the requestTimeout = 0, a default timeout is used. - /// if the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated. + /// a list of identifiers of tenants for which to stream jobs /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long RequestTimeout { - get { return requestTimeout_; } - set { - requestTimeout_ = value; - } + public pbc::RepeatedField TenantIds { + get { return tenantIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ActivateJobsRequest); + return Equals(other as StreamActivatedJobsRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ActivateJobsRequest other) { + public bool Equals(StreamActivatedJobsRequest other) { if (ReferenceEquals(other, null)) { return false; } @@ -415,9 +413,8 @@ public bool Equals(ActivateJobsRequest other) { if (Type != other.Type) return false; if (Worker != other.Worker) return false; if (Timeout != other.Timeout) return false; - if (MaxJobsToActivate != other.MaxJobsToActivate) return false; if(!fetchVariable_.Equals(other.fetchVariable_)) return false; - if (RequestTimeout != other.RequestTimeout) return false; + if(!tenantIds_.Equals(other.tenantIds_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -428,9 +425,8 @@ public override int GetHashCode() { if (Type.Length != 0) hash ^= Type.GetHashCode(); if (Worker.Length != 0) hash ^= Worker.GetHashCode(); if (Timeout != 0L) hash ^= Timeout.GetHashCode(); - if (MaxJobsToActivate != 0) hash ^= MaxJobsToActivate.GetHashCode(); hash ^= fetchVariable_.GetHashCode(); - if (RequestTimeout != 0L) hash ^= RequestTimeout.GetHashCode(); + hash ^= tenantIds_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -461,15 +457,8 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(24); output.WriteInt64(Timeout); } - if (MaxJobsToActivate != 0) { - output.WriteRawTag(32); - output.WriteInt32(MaxJobsToActivate); - } fetchVariable_.WriteTo(output, _repeated_fetchVariable_codec); - if (RequestTimeout != 0L) { - output.WriteRawTag(48); - output.WriteInt64(RequestTimeout); - } + tenantIds_.WriteTo(output, _repeated_tenantIds_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -492,15 +481,8 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(24); output.WriteInt64(Timeout); } - if (MaxJobsToActivate != 0) { - output.WriteRawTag(32); - output.WriteInt32(MaxJobsToActivate); - } fetchVariable_.WriteTo(ref output, _repeated_fetchVariable_codec); - if (RequestTimeout != 0L) { - output.WriteRawTag(48); - output.WriteInt64(RequestTimeout); - } + tenantIds_.WriteTo(ref output, _repeated_tenantIds_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -520,13 +502,8 @@ public int CalculateSize() { if (Timeout != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timeout); } - if (MaxJobsToActivate != 0) { - size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxJobsToActivate); - } size += fetchVariable_.CalculateSize(_repeated_fetchVariable_codec); - if (RequestTimeout != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(RequestTimeout); - } + size += tenantIds_.CalculateSize(_repeated_tenantIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -535,7 +512,7 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ActivateJobsRequest other) { + public void MergeFrom(StreamActivatedJobsRequest other) { if (other == null) { return; } @@ -548,13 +525,8 @@ public void MergeFrom(ActivateJobsRequest other) { if (other.Timeout != 0L) { Timeout = other.Timeout; } - if (other.MaxJobsToActivate != 0) { - MaxJobsToActivate = other.MaxJobsToActivate; - } fetchVariable_.Add(other.fetchVariable_); - if (other.RequestTimeout != 0L) { - RequestTimeout = other.RequestTimeout; - } + tenantIds_.Add(other.tenantIds_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -582,16 +554,12 @@ public void MergeFrom(pb::CodedInputStream input) { Timeout = input.ReadInt64(); break; } - case 32: { - MaxJobsToActivate = input.ReadInt32(); - break; - } case 42: { fetchVariable_.AddEntriesFrom(input, _repeated_fetchVariable_codec); break; } - case 48: { - RequestTimeout = input.ReadInt64(); + case 50: { + tenantIds_.AddEntriesFrom(input, _repeated_tenantIds_codec); break; } } @@ -621,16 +589,12 @@ public void MergeFrom(pb::CodedInputStream input) { Timeout = input.ReadInt64(); break; } - case 32: { - MaxJobsToActivate = input.ReadInt32(); - break; - } case 42: { fetchVariable_.AddEntriesFrom(ref input, _repeated_fetchVariable_codec); break; } - case 48: { - RequestTimeout = input.ReadInt64(); + case 50: { + tenantIds_.AddEntriesFrom(ref input, _repeated_tenantIds_codec); break; } } @@ -640,16 +604,16 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class ActivateJobsResponse : pb::IMessage + public sealed partial class ActivateJobsRequest : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActivateJobsResponse()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActivateJobsRequest()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -665,7 +629,7 @@ public sealed partial class ActivateJobsResponse : pb::IMessageField number for the "jobs" field. - public const int JobsFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_jobs_codec - = pb::FieldCodec.ForMessage(10, global::GatewayProtocol.ActivatedJob.Parser); - private readonly pbc::RepeatedField jobs_ = new pbc::RepeatedField(); + /// Field number for the "type" field. + public const int TypeFieldNumber = 1; + private string type_ = ""; /// - /// list of activated jobs + /// the job type, as defined in the BPMN process (e.g. <zeebe:taskDefinition + /// type="payment-service" />) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Jobs { - get { return jobs_; } + public string Type { + get { return type_; } + set { + type_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "worker" field. + public const int WorkerFieldNumber = 2; + private string worker_ = ""; + /// + /// the name of the worker activating the jobs, mostly used for logging purposes + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string Worker { + get { return worker_; } + set { + worker_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "timeout" field. + public const int TimeoutFieldNumber = 3; + private long timeout_; + /// + /// a job returned after this call will not be activated by another call until the + /// timeout (in ms) has been reached + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long Timeout { + get { return timeout_; } + set { + timeout_ = value; + } + } + + /// Field number for the "maxJobsToActivate" field. + public const int MaxJobsToActivateFieldNumber = 4; + private int maxJobsToActivate_; + /// + /// the maximum jobs to activate by this request + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public int MaxJobsToActivate { + get { return maxJobsToActivate_; } + set { + maxJobsToActivate_ = value; + } + } + + /// Field number for the "fetchVariable" field. + public const int FetchVariableFieldNumber = 5; + private static readonly pb::FieldCodec _repeated_fetchVariable_codec + = pb::FieldCodec.ForString(42); + private readonly pbc::RepeatedField fetchVariable_ = new pbc::RepeatedField(); + /// + /// a list of variables to fetch as the job variables; if empty, all visible variables at + /// the time of activation for the scope of the job will be returned + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField FetchVariable { + get { return fetchVariable_; } + } + + /// Field number for the "requestTimeout" field. + public const int RequestTimeoutFieldNumber = 6; + private long requestTimeout_; + /// + /// The request will be completed when at least one job is activated or after the requestTimeout (in ms). + /// if the requestTimeout = 0, a default timeout is used. + /// if the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated. + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long RequestTimeout { + get { return requestTimeout_; } + set { + requestTimeout_ = value; + } + } + + /// Field number for the "tenantIds" field. + public const int TenantIdsFieldNumber = 7; + private static readonly pb::FieldCodec _repeated_tenantIds_codec + = pb::FieldCodec.ForString(58); + private readonly pbc::RepeatedField tenantIds_ = new pbc::RepeatedField(); + /// + /// a list of IDs of tenants for which to activate jobs + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField TenantIds { + get { return tenantIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as ActivateJobsResponse); + return Equals(other as ActivateJobsRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ActivateJobsResponse other) { + public bool Equals(ActivateJobsRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!jobs_.Equals(other.jobs_)) return false; + if (Type != other.Type) return false; + if (Worker != other.Worker) return false; + if (Timeout != other.Timeout) return false; + if (MaxJobsToActivate != other.MaxJobsToActivate) return false; + if(!fetchVariable_.Equals(other.fetchVariable_)) return false; + if (RequestTimeout != other.RequestTimeout) return false; + if(!tenantIds_.Equals(other.tenantIds_)) return false; return Equals(_unknownFields, other._unknownFields); } @@ -721,7 +791,13 @@ public bool Equals(ActivateJobsResponse other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= jobs_.GetHashCode(); + if (Type.Length != 0) hash ^= Type.GetHashCode(); + if (Worker.Length != 0) hash ^= Worker.GetHashCode(); + if (Timeout != 0L) hash ^= Timeout.GetHashCode(); + if (MaxJobsToActivate != 0) hash ^= MaxJobsToActivate.GetHashCode(); + hash ^= fetchVariable_.GetHashCode(); + if (RequestTimeout != 0L) hash ^= RequestTimeout.GetHashCode(); + hash ^= tenantIds_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -740,7 +816,28 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - jobs_.WriteTo(output, _repeated_jobs_codec); + if (Type.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Type); + } + if (Worker.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Worker); + } + if (Timeout != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Timeout); + } + if (MaxJobsToActivate != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxJobsToActivate); + } + fetchVariable_.WriteTo(output, _repeated_fetchVariable_codec); + if (RequestTimeout != 0L) { + output.WriteRawTag(48); + output.WriteInt64(RequestTimeout); + } + tenantIds_.WriteTo(output, _repeated_tenantIds_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -751,13 +848,295 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - jobs_.WriteTo(ref output, _repeated_jobs_codec); - if (_unknownFields != null) { - _unknownFields.WriteTo(ref output); + if (Type.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Type); } - } - #endif - + if (Worker.Length != 0) { + output.WriteRawTag(18); + output.WriteString(Worker); + } + if (Timeout != 0L) { + output.WriteRawTag(24); + output.WriteInt64(Timeout); + } + if (MaxJobsToActivate != 0) { + output.WriteRawTag(32); + output.WriteInt32(MaxJobsToActivate); + } + fetchVariable_.WriteTo(ref output, _repeated_fetchVariable_codec); + if (RequestTimeout != 0L) { + output.WriteRawTag(48); + output.WriteInt64(RequestTimeout); + } + tenantIds_.WriteTo(ref output, _repeated_tenantIds_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 (Type.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Type); + } + if (Worker.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Worker); + } + if (Timeout != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timeout); + } + if (MaxJobsToActivate != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(MaxJobsToActivate); + } + size += fetchVariable_.CalculateSize(_repeated_fetchVariable_codec); + if (RequestTimeout != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(RequestTimeout); + } + size += tenantIds_.CalculateSize(_repeated_tenantIds_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(ActivateJobsRequest other) { + if (other == null) { + return; + } + if (other.Type.Length != 0) { + Type = other.Type; + } + if (other.Worker.Length != 0) { + Worker = other.Worker; + } + if (other.Timeout != 0L) { + Timeout = other.Timeout; + } + if (other.MaxJobsToActivate != 0) { + MaxJobsToActivate = other.MaxJobsToActivate; + } + fetchVariable_.Add(other.fetchVariable_); + if (other.RequestTimeout != 0L) { + RequestTimeout = other.RequestTimeout; + } + tenantIds_.Add(other.tenantIds_); + _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: { + Type = input.ReadString(); + break; + } + case 18: { + Worker = input.ReadString(); + break; + } + case 24: { + Timeout = input.ReadInt64(); + break; + } + case 32: { + MaxJobsToActivate = input.ReadInt32(); + break; + } + case 42: { + fetchVariable_.AddEntriesFrom(input, _repeated_fetchVariable_codec); + break; + } + case 48: { + RequestTimeout = input.ReadInt64(); + break; + } + case 58: { + tenantIds_.AddEntriesFrom(input, _repeated_tenantIds_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: { + Type = input.ReadString(); + break; + } + case 18: { + Worker = input.ReadString(); + break; + } + case 24: { + Timeout = input.ReadInt64(); + break; + } + case 32: { + MaxJobsToActivate = input.ReadInt32(); + break; + } + case 42: { + fetchVariable_.AddEntriesFrom(ref input, _repeated_fetchVariable_codec); + break; + } + case 48: { + RequestTimeout = input.ReadInt64(); + break; + } + case 58: { + tenantIds_.AddEntriesFrom(ref input, _repeated_tenantIds_codec); + break; + } + } + } + } + #endif + + } + + public sealed partial class ActivateJobsResponse : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ActivateJobsResponse()); + 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::GatewayProtocol.GatewayReflection.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 ActivateJobsResponse() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivateJobsResponse(ActivateJobsResponse other) : this() { + jobs_ = other.jobs_.Clone(); + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public ActivateJobsResponse Clone() { + return new ActivateJobsResponse(this); + } + + /// Field number for the "jobs" field. + public const int JobsFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_jobs_codec + = pb::FieldCodec.ForMessage(10, global::GatewayProtocol.ActivatedJob.Parser); + private readonly pbc::RepeatedField jobs_ = new pbc::RepeatedField(); + /// + /// list of activated jobs + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Jobs { + get { return jobs_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as ActivateJobsResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(ActivateJobsResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if(!jobs_.Equals(other.jobs_)) 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 ^= jobs_.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 + jobs_.WriteTo(output, _repeated_jobs_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) { + jobs_.WriteTo(ref output, _repeated_jobs_codec); + if (_unknownFields != null) { + _unknownFields.WriteTo(ref output); + } + } + #endif + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { @@ -835,7 +1214,7 @@ public sealed partial class ActivatedJob : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[2]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[3]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -868,6 +1247,7 @@ public ActivatedJob(ActivatedJob other) : this() { retries_ = other.retries_; deadline_ = other.deadline_; variables_ = other.variables_; + tenantId_ = other.tenantId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -1075,6 +1455,21 @@ public string Variables { } } + /// Field number for the "tenantId" field. + public const int TenantIdFieldNumber = 14; + private string tenantId_ = ""; + /// + /// // the id of the tenant that owns the job + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -1103,6 +1498,7 @@ public bool Equals(ActivatedJob other) { if (Retries != other.Retries) return false; if (Deadline != other.Deadline) return false; if (Variables != other.Variables) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -1123,6 +1519,7 @@ public override int GetHashCode() { if (Retries != 0) hash ^= Retries.GetHashCode(); if (Deadline != 0L) hash ^= Deadline.GetHashCode(); if (Variables.Length != 0) hash ^= Variables.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -1193,6 +1590,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(106); output.WriteString(Variables); } + if (TenantId.Length != 0) { + output.WriteRawTag(114); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -1255,6 +1656,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(106); output.WriteString(Variables); } + if (TenantId.Length != 0) { + output.WriteRawTag(114); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -1304,6 +1709,9 @@ public int CalculateSize() { if (Variables.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Variables); } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -1355,6 +1763,9 @@ public void MergeFrom(ActivatedJob other) { if (other.Variables.Length != 0) { Variables = other.Variables; } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -1422,6 +1833,10 @@ public void MergeFrom(pb::CodedInputStream input) { Variables = input.ReadString(); break; } + case 114: { + TenantId = input.ReadString(); + break; + } } } #endif @@ -1489,6 +1904,10 @@ public void MergeFrom(pb::CodedInputStream input) { Variables = input.ReadString(); break; } + case 114: { + TenantId = input.ReadString(); + break; + } } } } @@ -1510,7 +1929,7 @@ public sealed partial class CancelProcessInstanceRequest : pb::IMessageField number for the "tenantId" field. + public const int TenantIdFieldNumber = 6; + private string tenantId_ = ""; + /// + /// the tenant id of the process definition + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -2374,6 +2809,7 @@ public bool Equals(CreateProcessInstanceRequest other) { if (Version != other.Version) return false; if (Variables != other.Variables) return false; if(!startInstructions_.Equals(other.startInstructions_)) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2386,6 +2822,7 @@ public override int GetHashCode() { if (Version != 0) hash ^= Version.GetHashCode(); if (Variables.Length != 0) hash ^= Variables.GetHashCode(); hash ^= startInstructions_.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2421,6 +2858,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(Variables); } startInstructions_.WriteTo(output, _repeated_startInstructions_codec); + if (TenantId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -2448,6 +2889,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteString(Variables); } startInstructions_.WriteTo(ref output, _repeated_startInstructions_codec); + if (TenantId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -2471,6 +2916,9 @@ public int CalculateSize() { size += 1 + pb::CodedOutputStream.ComputeStringSize(Variables); } size += startInstructions_.CalculateSize(_repeated_startInstructions_codec); + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -2496,6 +2944,9 @@ public void MergeFrom(CreateProcessInstanceRequest other) { Variables = other.Variables; } startInstructions_.Add(other.startInstructions_); + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -2531,6 +2982,10 @@ public void MergeFrom(pb::CodedInputStream input) { startInstructions_.AddEntriesFrom(input, _repeated_startInstructions_codec); break; } + case 50: { + TenantId = input.ReadString(); + break; + } } } #endif @@ -2566,6 +3021,10 @@ public void MergeFrom(pb::CodedInputStream input) { startInstructions_.AddEntriesFrom(ref input, _repeated_startInstructions_codec); break; } + case 50: { + TenantId = input.ReadString(); + break; + } } } } @@ -2587,7 +3046,7 @@ public sealed partial class ProcessInstanceCreationStartInstruction : pb::IMessa [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[8]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[9]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -2779,7 +3238,7 @@ public sealed partial class CreateProcessInstanceResponse : pb::IMessageField number for the "tenantId" field. + public const int TenantIdFieldNumber = 5; + private string tenantId_ = ""; + /// + /// the tenant identifier of the created process instance + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -2893,6 +3368,7 @@ public bool Equals(CreateProcessInstanceResponse other) { if (BpmnProcessId != other.BpmnProcessId) return false; if (Version != other.Version) return false; if (ProcessInstanceKey != other.ProcessInstanceKey) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -2904,6 +3380,7 @@ public override int GetHashCode() { if (BpmnProcessId.Length != 0) hash ^= BpmnProcessId.GetHashCode(); if (Version != 0) hash ^= Version.GetHashCode(); if (ProcessInstanceKey != 0L) hash ^= ProcessInstanceKey.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -2938,6 +3415,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(32); output.WriteInt64(ProcessInstanceKey); } + if (TenantId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -2964,6 +3445,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(32); output.WriteInt64(ProcessInstanceKey); } + if (TenantId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -2986,6 +3471,9 @@ public int CalculateSize() { if (ProcessInstanceKey != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(ProcessInstanceKey); } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3010,6 +3498,9 @@ public void MergeFrom(CreateProcessInstanceResponse other) { if (other.ProcessInstanceKey != 0L) { ProcessInstanceKey = other.ProcessInstanceKey; } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3041,6 +3532,10 @@ public void MergeFrom(pb::CodedInputStream input) { ProcessInstanceKey = input.ReadInt64(); break; } + case 42: { + TenantId = input.ReadString(); + break; + } } } #endif @@ -3072,6 +3567,10 @@ public void MergeFrom(pb::CodedInputStream input) { ProcessInstanceKey = input.ReadInt64(); break; } + case 42: { + TenantId = input.ReadString(); + break; + } } } } @@ -3093,7 +3592,7 @@ public sealed partial class CreateProcessInstanceWithResultRequest : pb::IMessag [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[10]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[11]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3363,7 +3862,7 @@ public sealed partial class CreateProcessInstanceWithResultResponse : pb::IMessa [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[11]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[12]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -3388,6 +3887,7 @@ public CreateProcessInstanceWithResultResponse(CreateProcessInstanceWithResultRe version_ = other.version_; processInstanceKey_ = other.processInstanceKey_; variables_ = other.variables_; + tenantId_ = other.tenantId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -3475,6 +3975,21 @@ public string Variables { } } + /// Field number for the "tenantId" field. + public const int TenantIdFieldNumber = 6; + private string tenantId_ = ""; + /// + /// the tenant identifier of the process definition + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -3495,6 +4010,7 @@ public bool Equals(CreateProcessInstanceWithResultResponse other) { if (Version != other.Version) return false; if (ProcessInstanceKey != other.ProcessInstanceKey) return false; if (Variables != other.Variables) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3507,6 +4023,7 @@ public override int GetHashCode() { if (Version != 0) hash ^= Version.GetHashCode(); if (ProcessInstanceKey != 0L) hash ^= ProcessInstanceKey.GetHashCode(); if (Variables.Length != 0) hash ^= Variables.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3545,6 +4062,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(42); output.WriteString(Variables); } + if (TenantId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -3575,6 +4096,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(42); output.WriteString(Variables); } + if (TenantId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -3600,6 +4125,9 @@ public int CalculateSize() { if (Variables.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Variables); } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3627,6 +4155,9 @@ public void MergeFrom(CreateProcessInstanceWithResultResponse other) { if (other.Variables.Length != 0) { Variables = other.Variables; } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3662,6 +4193,10 @@ public void MergeFrom(pb::CodedInputStream input) { Variables = input.ReadString(); break; } + case 50: { + TenantId = input.ReadString(); + break; + } } } #endif @@ -3697,6 +4232,10 @@ public void MergeFrom(pb::CodedInputStream input) { Variables = input.ReadString(); break; } + case 50: { + TenantId = input.ReadString(); + break; + } } } } @@ -3718,7 +4257,7 @@ public sealed partial class EvaluateDecisionRequest : pb::IMessageField number for the "tenantId" field. + public const int TenantIdFieldNumber = 4; + private string tenantId_ = ""; + /// + /// the tenant identifier of the decision + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -3819,6 +4374,7 @@ public bool Equals(EvaluateDecisionRequest other) { if (DecisionKey != other.DecisionKey) return false; if (DecisionId != other.DecisionId) return false; if (Variables != other.Variables) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -3829,6 +4385,7 @@ public override int GetHashCode() { if (DecisionKey != 0L) hash ^= DecisionKey.GetHashCode(); if (DecisionId.Length != 0) hash ^= DecisionId.GetHashCode(); if (Variables.Length != 0) hash ^= Variables.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -3859,6 +4416,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteString(Variables); } + if (TenantId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -3881,6 +4442,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(26); output.WriteString(Variables); } + if (TenantId.Length != 0) { + output.WriteRawTag(34); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -3900,6 +4465,9 @@ public int CalculateSize() { if (Variables.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Variables); } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -3921,6 +4489,9 @@ public void MergeFrom(EvaluateDecisionRequest other) { if (other.Variables.Length != 0) { Variables = other.Variables; } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -3948,6 +4519,10 @@ public void MergeFrom(pb::CodedInputStream input) { Variables = input.ReadString(); break; } + case 34: { + TenantId = input.ReadString(); + break; + } } } #endif @@ -3975,6 +4550,10 @@ public void MergeFrom(pb::CodedInputStream input) { Variables = input.ReadString(); break; } + case 34: { + TenantId = input.ReadString(); + break; + } } } } @@ -3996,7 +4575,7 @@ public sealed partial class EvaluateDecisionResponse : pb::IMessageField number for the "tenantId" field. + public const int TenantIdFieldNumber = 11; + private string tenantId_ = ""; + /// + /// the tenant identifier of the evaluated decision + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -4215,6 +4810,7 @@ public bool Equals(EvaluateDecisionResponse other) { if(!evaluatedDecisions_.Equals(other.evaluatedDecisions_)) return false; if (FailedDecisionId != other.FailedDecisionId) return false; if (FailureMessage != other.FailureMessage) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4232,6 +4828,7 @@ public override int GetHashCode() { hash ^= evaluatedDecisions_.GetHashCode(); if (FailedDecisionId.Length != 0) hash ^= FailedDecisionId.GetHashCode(); if (FailureMessage.Length != 0) hash ^= FailureMessage.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4287,6 +4884,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteString(FailureMessage); } + if (TenantId.Length != 0) { + output.WriteRawTag(90); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4334,6 +4935,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(82); output.WriteString(FailureMessage); } + if (TenantId.Length != 0) { + output.WriteRawTag(90); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4372,6 +4977,9 @@ public int CalculateSize() { if (FailureMessage.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(FailureMessage); } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4412,6 +5020,9 @@ public void MergeFrom(EvaluateDecisionResponse other) { if (other.FailureMessage.Length != 0) { FailureMessage = other.FailureMessage; } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4467,6 +5078,10 @@ public void MergeFrom(pb::CodedInputStream input) { FailureMessage = input.ReadString(); break; } + case 90: { + TenantId = input.ReadString(); + break; + } } } #endif @@ -4522,6 +5137,10 @@ public void MergeFrom(pb::CodedInputStream input) { FailureMessage = input.ReadString(); break; } + case 90: { + TenantId = input.ReadString(); + break; + } } } } @@ -4543,7 +5162,7 @@ public sealed partial class EvaluatedDecision : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[14]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[15]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -4571,6 +5190,7 @@ public EvaluatedDecision(EvaluatedDecision other) : this() { decisionOutput_ = other.decisionOutput_; matchedRules_ = other.matchedRules_.Clone(); evaluatedInputs_ = other.evaluatedInputs_.Clone(); + tenantId_ = other.tenantId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } @@ -4701,6 +5321,21 @@ public string DecisionOutput { get { return evaluatedInputs_; } } + /// Field number for the "tenantId" field. + public const int TenantIdFieldNumber = 9; + private string tenantId_ = ""; + /// + /// the tenant identifier of the evaluated decision + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -4724,6 +5359,7 @@ public bool Equals(EvaluatedDecision other) { if (DecisionOutput != other.DecisionOutput) return false; if(!matchedRules_.Equals(other.matchedRules_)) return false; if(!evaluatedInputs_.Equals(other.evaluatedInputs_)) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -4739,6 +5375,7 @@ public override int GetHashCode() { if (DecisionOutput.Length != 0) hash ^= DecisionOutput.GetHashCode(); hash ^= matchedRules_.GetHashCode(); hash ^= evaluatedInputs_.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -4783,6 +5420,10 @@ public void WriteTo(pb::CodedOutputStream output) { } matchedRules_.WriteTo(output, _repeated_matchedRules_codec); evaluatedInputs_.WriteTo(output, _repeated_evaluatedInputs_codec); + if (TenantId.Length != 0) { + output.WriteRawTag(74); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -4819,6 +5460,10 @@ public void WriteTo(pb::CodedOutputStream output) { } matchedRules_.WriteTo(ref output, _repeated_matchedRules_codec); evaluatedInputs_.WriteTo(ref output, _repeated_evaluatedInputs_codec); + if (TenantId.Length != 0) { + output.WriteRawTag(74); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -4849,6 +5494,9 @@ public int CalculateSize() { } size += matchedRules_.CalculateSize(_repeated_matchedRules_codec); size += evaluatedInputs_.CalculateSize(_repeated_evaluatedInputs_codec); + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -4881,6 +5529,9 @@ public void MergeFrom(EvaluatedDecision other) { } matchedRules_.Add(other.matchedRules_); evaluatedInputs_.Add(other.evaluatedInputs_); + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -4928,6 +5579,10 @@ public void MergeFrom(pb::CodedInputStream input) { evaluatedInputs_.AddEntriesFrom(input, _repeated_evaluatedInputs_codec); break; } + case 74: { + TenantId = input.ReadString(); + break; + } } } #endif @@ -4975,6 +5630,10 @@ public void MergeFrom(pb::CodedInputStream input) { evaluatedInputs_.AddEntriesFrom(ref input, _repeated_evaluatedInputs_codec); break; } + case 74: { + TenantId = input.ReadString(); + break; + } } } } @@ -4996,7 +5655,7 @@ public sealed partial class EvaluatedDecisionInput : pb::IMessageField number for the "processes" field. - public const int ProcessesFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_processes_codec - = pb::FieldCodec.ForMessage(18, global::GatewayProtocol.ProcessMetadata.Parser); - private readonly pbc::RepeatedField processes_ = new pbc::RepeatedField(); + /// Field number for the "processes" field. + public const int ProcessesFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_processes_codec + = pb::FieldCodec.ForMessage(18, global::GatewayProtocol.ProcessMetadata.Parser); + private readonly pbc::RepeatedField processes_ = new pbc::RepeatedField(); + /// + /// a list of deployed processes + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Processes { + get { return processes_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public override bool Equals(object other) { + return Equals(other as DeployProcessResponse); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public bool Equals(DeployProcessResponse other) { + if (ReferenceEquals(other, null)) { + return false; + } + if (ReferenceEquals(other, this)) { + return true; + } + if (Key != other.Key) return false; + if(!processes_.Equals(other.processes_)) 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 (Key != 0L) hash ^= Key.GetHashCode(); + hash ^= processes_.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 (Key != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Key); + } + processes_.WriteTo(output, _repeated_processes_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 (Key != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Key); + } + processes_.WriteTo(ref output, _repeated_processes_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 (Key != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Key); + } + size += processes_.CalculateSize(_repeated_processes_codec); + if (_unknownFields != null) { + size += _unknownFields.CalculateSize(); + } + return size; + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void MergeFrom(DeployProcessResponse other) { + if (other == null) { + return; + } + if (other.Key != 0L) { + Key = other.Key; + } + processes_.Add(other.processes_); + _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: { + Key = input.ReadInt64(); + break; + } + case 18: { + processes_.AddEntriesFrom(input, _repeated_processes_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: { + Key = input.ReadInt64(); + break; + } + case 18: { + processes_.AddEntriesFrom(ref input, _repeated_processes_codec); + break; + } + } + } + } + #endif + + } + + public sealed partial class DeployResourceRequest : pb::IMessage + #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE + , pb::IBufferMessage + #endif + { + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeployResourceRequest()); + 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::GatewayProtocol.GatewayReflection.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 DeployResourceRequest() { + OnConstruction(); + } + + partial void OnConstruction(); + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployResourceRequest(DeployResourceRequest other) : this() { + resources_ = other.resources_.Clone(); + tenantId_ = other.tenantId_; + _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public DeployResourceRequest Clone() { + return new DeployResourceRequest(this); + } + + /// Field number for the "resources" field. + public const int ResourcesFieldNumber = 1; + private static readonly pb::FieldCodec _repeated_resources_codec + = pb::FieldCodec.ForMessage(10, global::GatewayProtocol.Resource.Parser); + private readonly pbc::RepeatedField resources_ = new pbc::RepeatedField(); + /// + /// list of resources to deploy + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pbc::RepeatedField Resources { + get { return resources_; } + } + + /// Field number for the "tenantId" field. + public const int TenantIdFieldNumber = 2; + private string tenantId_ = ""; /// - /// a list of deployed processes + /// the tenant id of the resources to deploy /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Processes { - get { return processes_; } + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = 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 DeployProcessResponse); + return Equals(other as DeployResourceRequest); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DeployProcessResponse other) { + public bool Equals(DeployResourceRequest other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Key != other.Key) return false; - if(!processes_.Equals(other.processes_)) return false; + if(!resources_.Equals(other.resources_)) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6302,8 +7182,8 @@ public bool Equals(DeployProcessResponse other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Key != 0L) hash ^= Key.GetHashCode(); - hash ^= processes_.GetHashCode(); + hash ^= resources_.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6322,11 +7202,11 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Key != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Key); + resources_.WriteTo(output, _repeated_resources_codec); + if (TenantId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TenantId); } - processes_.WriteTo(output, _repeated_processes_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -6337,11 +7217,11 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Key != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Key); + resources_.WriteTo(ref output, _repeated_resources_codec); + if (TenantId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TenantId); } - processes_.WriteTo(ref output, _repeated_processes_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -6352,10 +7232,10 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Key != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Key); + size += resources_.CalculateSize(_repeated_resources_codec); + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); } - size += processes_.CalculateSize(_repeated_processes_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -6364,14 +7244,14 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DeployProcessResponse other) { + public void MergeFrom(DeployResourceRequest other) { if (other == null) { return; } - if (other.Key != 0L) { - Key = other.Key; + resources_.Add(other.resources_); + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; } - processes_.Add(other.processes_); _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6387,12 +7267,12 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - Key = input.ReadInt64(); + case 10: { + resources_.AddEntriesFrom(input, _repeated_resources_codec); break; } case 18: { - processes_.AddEntriesFrom(input, _repeated_processes_codec); + TenantId = input.ReadString(); break; } } @@ -6410,12 +7290,12 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - Key = input.ReadInt64(); + case 10: { + resources_.AddEntriesFrom(ref input, _repeated_resources_codec); break; } case 18: { - processes_.AddEntriesFrom(ref input, _repeated_processes_codec); + TenantId = input.ReadString(); break; } } @@ -6425,21 +7305,21 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class DeployResourceRequest : pb::IMessage + public sealed partial class Resource : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeployResourceRequest()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Resource()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[21]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[23]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6450,7 +7330,7 @@ public sealed partial class DeployResourceRequest : pb::IMessageField number for the "resources" field. - public const int ResourcesFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_resources_codec - = pb::FieldCodec.ForMessage(10, global::GatewayProtocol.Resource.Parser); - private readonly pbc::RepeatedField resources_ = new pbc::RepeatedField(); + /// Field number for the "name" field. + public const int NameFieldNumber = 1; + private string name_ = ""; /// - /// list of resources to deploy + /// the resource name, e.g. myProcess.bpmn or myDecision.dmn /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Resources { - get { return resources_; } + public string Name { + get { return name_; } + set { + name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "content" field. + public const int ContentFieldNumber = 2; + private pb::ByteString content_ = pb::ByteString.Empty; + /// + /// the file content as a UTF8-encoded string + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public pb::ByteString 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 DeployResourceRequest); + return Equals(other as Resource); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DeployResourceRequest other) { + public bool Equals(Resource other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if(!resources_.Equals(other.resources_)) return false; + if (Name != other.Name) return false; + if (Content != other.Content) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6506,7 +7404,8 @@ public bool Equals(DeployResourceRequest other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - hash ^= resources_.GetHashCode(); + if (Name.Length != 0) hash ^= Name.GetHashCode(); + if (Content.Length != 0) hash ^= Content.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6525,7 +7424,14 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - resources_.WriteTo(output, _repeated_resources_codec); + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Content.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Content); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -6536,7 +7442,14 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - resources_.WriteTo(ref output, _repeated_resources_codec); + if (Name.Length != 0) { + output.WriteRawTag(10); + output.WriteString(Name); + } + if (Content.Length != 0) { + output.WriteRawTag(18); + output.WriteBytes(Content); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -6547,7 +7460,12 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - size += resources_.CalculateSize(_repeated_resources_codec); + if (Name.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + } + if (Content.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeBytesSize(Content); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -6556,11 +7474,16 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DeployResourceRequest other) { + public void MergeFrom(Resource other) { if (other == null) { return; } - resources_.Add(other.resources_); + if (other.Name.Length != 0) { + Name = other.Name; + } + if (other.Content.Length != 0) { + Content = other.Content; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6577,7 +7500,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - resources_.AddEntriesFrom(input, _repeated_resources_codec); + Name = input.ReadString(); + break; + } + case 18: { + Content = input.ReadBytes(); break; } } @@ -6596,7 +7523,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - resources_.AddEntriesFrom(ref input, _repeated_resources_codec); + Name = input.ReadString(); + break; + } + case 18: { + Content = input.ReadBytes(); break; } } @@ -6606,21 +7537,21 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class Resource : pb::IMessage + public sealed partial class DeployResourceResponse : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Resource()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeployResourceResponse()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[22]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[24]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6631,7 +7562,7 @@ public sealed partial class Resource : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Resource() { + public DeployResourceResponse() { OnConstruction(); } @@ -6639,65 +7570,81 @@ public Resource() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Resource(Resource other) : this() { - name_ = other.name_; - content_ = other.content_; + public DeployResourceResponse(DeployResourceResponse other) : this() { + key_ = other.key_; + deployments_ = other.deployments_.Clone(); + tenantId_ = other.tenantId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Resource Clone() { - return new Resource(this); + public DeployResourceResponse Clone() { + return new DeployResourceResponse(this); } - /// Field number for the "name" field. - public const int NameFieldNumber = 1; - private string name_ = ""; + /// Field number for the "key" field. + public const int KeyFieldNumber = 1; + private long key_; /// - /// the resource name, e.g. myProcess.bpmn or myDecision.dmn + /// the unique key identifying the deployment /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string Name { - get { return name_; } + public long Key { + get { return key_; } set { - name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + key_ = value; } } - /// Field number for the "content" field. - public const int ContentFieldNumber = 2; - private pb::ByteString content_ = pb::ByteString.Empty; + /// Field number for the "deployments" field. + public const int DeploymentsFieldNumber = 2; + private static readonly pb::FieldCodec _repeated_deployments_codec + = pb::FieldCodec.ForMessage(18, global::GatewayProtocol.Deployment.Parser); + private readonly pbc::RepeatedField deployments_ = new pbc::RepeatedField(); /// - /// the file content as a UTF8-encoded string + /// a list of deployed resources, e.g. processes /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pb::ByteString Content { - get { return content_; } + public pbc::RepeatedField Deployments { + get { return deployments_; } + } + + /// Field number for the "tenantId" field. + public const int TenantIdFieldNumber = 3; + private string tenantId_ = ""; + /// + /// the tenant id of the deployed resources + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } set { - content_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + tenantId_ = 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 Resource); + return Equals(other as DeployResourceResponse); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Resource other) { + public bool Equals(DeployResourceResponse other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Name != other.Name) return false; - if (Content != other.Content) return false; + if (Key != other.Key) return false; + if(!deployments_.Equals(other.deployments_)) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6705,8 +7652,9 @@ public bool Equals(Resource other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Name.Length != 0) hash ^= Name.GetHashCode(); - if (Content.Length != 0) hash ^= Content.GetHashCode(); + if (Key != 0L) hash ^= Key.GetHashCode(); + hash ^= deployments_.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6725,13 +7673,14 @@ 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 (Key != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Key); } - if (Content.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Content); + deployments_.WriteTo(output, _repeated_deployments_codec); + if (TenantId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TenantId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -6743,13 +7692,14 @@ public void WriteTo(pb::CodedOutputStream output) { [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 (Key != 0L) { + output.WriteRawTag(8); + output.WriteInt64(Key); } - if (Content.Length != 0) { - output.WriteRawTag(18); - output.WriteBytes(Content); + deployments_.WriteTo(ref output, _repeated_deployments_codec); + if (TenantId.Length != 0) { + output.WriteRawTag(26); + output.WriteString(TenantId); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -6761,11 +7711,12 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Name.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); + if (Key != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(Key); } - if (Content.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeBytesSize(Content); + size += deployments_.CalculateSize(_repeated_deployments_codec); + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -6775,15 +7726,16 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Resource other) { + public void MergeFrom(DeployResourceResponse other) { if (other == null) { return; } - if (other.Name.Length != 0) { - Name = other.Name; + if (other.Key != 0L) { + Key = other.Key; } - if (other.Content.Length != 0) { - Content = other.Content; + deployments_.Add(other.deployments_); + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -6800,12 +7752,16 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - Name = input.ReadString(); + case 8: { + Key = input.ReadInt64(); break; } case 18: { - Content = input.ReadBytes(); + deployments_.AddEntriesFrom(input, _repeated_deployments_codec); + break; + } + case 26: { + TenantId = input.ReadString(); break; } } @@ -6823,12 +7779,16 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 10: { - Name = input.ReadString(); + case 8: { + Key = input.ReadInt64(); break; } case 18: { - Content = input.ReadBytes(); + deployments_.AddEntriesFrom(ref input, _repeated_deployments_codec); + break; + } + case 26: { + TenantId = input.ReadString(); break; } } @@ -6838,21 +7798,21 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class DeployResourceResponse : pb::IMessage + public sealed partial class Deployment : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DeployResourceResponse()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Deployment()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[23]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[25]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -6863,7 +7823,7 @@ public sealed partial class DeployResourceResponse : pb::IMessageField number for the "key" field. - public const int KeyFieldNumber = 1; - private long key_; + /// Field number for the "process" field. + public const int ProcessFieldNumber = 1; /// - /// the unique key identifying the deployment + /// metadata of a deployed process /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long Key { - get { return key_; } + public global::GatewayProtocol.ProcessMetadata Process { + get { return metadataCase_ == MetadataOneofCase.Process ? (global::GatewayProtocol.ProcessMetadata) metadata_ : null; } set { - key_ = value; + metadata_ = value; + metadataCase_ = value == null ? MetadataOneofCase.None : MetadataOneofCase.Process; } } - /// Field number for the "deployments" field. - public const int DeploymentsFieldNumber = 2; - private static readonly pb::FieldCodec _repeated_deployments_codec - = pb::FieldCodec.ForMessage(18, global::GatewayProtocol.Deployment.Parser); - private readonly pbc::RepeatedField deployments_ = new pbc::RepeatedField(); + /// Field number for the "decision" field. + public const int DecisionFieldNumber = 2; /// - /// a list of deployed resources, e.g. processes + /// metadata of a deployed decision /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public pbc::RepeatedField Deployments { - get { return deployments_; } + public global::GatewayProtocol.DecisionMetadata Decision { + get { return metadataCase_ == MetadataOneofCase.Decision ? (global::GatewayProtocol.DecisionMetadata) metadata_ : null; } + set { + metadata_ = value; + metadataCase_ = value == null ? MetadataOneofCase.None : MetadataOneofCase.Decision; + } + } + + /// Field number for the "decisionRequirements" field. + public const int DecisionRequirementsFieldNumber = 3; + /// + /// metadata of a deployed decision requirements + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::GatewayProtocol.DecisionRequirementsMetadata DecisionRequirements { + get { return metadataCase_ == MetadataOneofCase.DecisionRequirements ? (global::GatewayProtocol.DecisionRequirementsMetadata) metadata_ : null; } + set { + metadata_ = value; + metadataCase_ = value == null ? MetadataOneofCase.None : MetadataOneofCase.DecisionRequirements; + } + } + + /// Field number for the "form" field. + public const int FormFieldNumber = 4; + /// + /// metadata of a deployed form + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public global::GatewayProtocol.FormMetadata Form { + get { return metadataCase_ == MetadataOneofCase.Form ? (global::GatewayProtocol.FormMetadata) metadata_ : null; } + set { + metadata_ = value; + metadataCase_ = value == null ? MetadataOneofCase.None : MetadataOneofCase.Form; + } + } + + private object metadata_; + /// Enum of possible cases for the "Metadata" oneof. + public enum MetadataOneofCase { + None = 0, + Process = 1, + Decision = 2, + DecisionRequirements = 3, + Form = 4, + } + private MetadataOneofCase metadataCase_ = MetadataOneofCase.None; + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public MetadataOneofCase MetadataCase { + get { return metadataCase_; } + } + + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public void ClearMetadata() { + metadataCase_ = MetadataOneofCase.None; + metadata_ = null; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { - return Equals(other as DeployResourceResponse); + return Equals(other as Deployment); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DeployResourceResponse other) { + public bool Equals(Deployment other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (Key != other.Key) return false; - if(!deployments_.Equals(other.deployments_)) return false; + if (!object.Equals(Process, other.Process)) return false; + if (!object.Equals(Decision, other.Decision)) return false; + if (!object.Equals(DecisionRequirements, other.DecisionRequirements)) return false; + if (!object.Equals(Form, other.Form)) return false; + if (MetadataCase != other.MetadataCase) return false; return Equals(_unknownFields, other._unknownFields); } @@ -6936,8 +7966,11 @@ public bool Equals(DeployResourceResponse other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (Key != 0L) hash ^= Key.GetHashCode(); - hash ^= deployments_.GetHashCode(); + if (metadataCase_ == MetadataOneofCase.Process) hash ^= Process.GetHashCode(); + if (metadataCase_ == MetadataOneofCase.Decision) hash ^= Decision.GetHashCode(); + if (metadataCase_ == MetadataOneofCase.DecisionRequirements) hash ^= DecisionRequirements.GetHashCode(); + if (metadataCase_ == MetadataOneofCase.Form) hash ^= Form.GetHashCode(); + hash ^= (int) metadataCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -6956,11 +7989,22 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (Key != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Key); + if (metadataCase_ == MetadataOneofCase.Process) { + output.WriteRawTag(10); + output.WriteMessage(Process); + } + if (metadataCase_ == MetadataOneofCase.Decision) { + output.WriteRawTag(18); + output.WriteMessage(Decision); + } + if (metadataCase_ == MetadataOneofCase.DecisionRequirements) { + output.WriteRawTag(26); + output.WriteMessage(DecisionRequirements); + } + if (metadataCase_ == MetadataOneofCase.Form) { + output.WriteRawTag(34); + output.WriteMessage(Form); } - deployments_.WriteTo(output, _repeated_deployments_codec); if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -6971,11 +8015,22 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (Key != 0L) { - output.WriteRawTag(8); - output.WriteInt64(Key); + if (metadataCase_ == MetadataOneofCase.Process) { + output.WriteRawTag(10); + output.WriteMessage(Process); + } + if (metadataCase_ == MetadataOneofCase.Decision) { + output.WriteRawTag(18); + output.WriteMessage(Decision); + } + if (metadataCase_ == MetadataOneofCase.DecisionRequirements) { + output.WriteRawTag(26); + output.WriteMessage(DecisionRequirements); + } + if (metadataCase_ == MetadataOneofCase.Form) { + output.WriteRawTag(34); + output.WriteMessage(Form); } - deployments_.WriteTo(ref output, _repeated_deployments_codec); if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -6986,10 +8041,18 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (Key != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(Key); + if (metadataCase_ == MetadataOneofCase.Process) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Process); + } + if (metadataCase_ == MetadataOneofCase.Decision) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Decision); + } + if (metadataCase_ == MetadataOneofCase.DecisionRequirements) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(DecisionRequirements); + } + if (metadataCase_ == MetadataOneofCase.Form) { + size += 1 + pb::CodedOutputStream.ComputeMessageSize(Form); } - size += deployments_.CalculateSize(_repeated_deployments_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -6998,14 +8061,37 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DeployResourceResponse other) { + public void MergeFrom(Deployment other) { if (other == null) { return; } - if (other.Key != 0L) { - Key = other.Key; + switch (other.MetadataCase) { + case MetadataOneofCase.Process: + if (Process == null) { + Process = new global::GatewayProtocol.ProcessMetadata(); + } + Process.MergeFrom(other.Process); + break; + case MetadataOneofCase.Decision: + if (Decision == null) { + Decision = new global::GatewayProtocol.DecisionMetadata(); + } + Decision.MergeFrom(other.Decision); + break; + case MetadataOneofCase.DecisionRequirements: + if (DecisionRequirements == null) { + DecisionRequirements = new global::GatewayProtocol.DecisionRequirementsMetadata(); + } + DecisionRequirements.MergeFrom(other.DecisionRequirements); + break; + case MetadataOneofCase.Form: + if (Form == null) { + Form = new global::GatewayProtocol.FormMetadata(); + } + Form.MergeFrom(other.Form); + break; } - deployments_.Add(other.deployments_); + _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7021,12 +8107,40 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 8: { - Key = input.ReadInt64(); + case 10: { + global::GatewayProtocol.ProcessMetadata subBuilder = new global::GatewayProtocol.ProcessMetadata(); + if (metadataCase_ == MetadataOneofCase.Process) { + subBuilder.MergeFrom(Process); + } + input.ReadMessage(subBuilder); + Process = subBuilder; break; } case 18: { - deployments_.AddEntriesFrom(input, _repeated_deployments_codec); + global::GatewayProtocol.DecisionMetadata subBuilder = new global::GatewayProtocol.DecisionMetadata(); + if (metadataCase_ == MetadataOneofCase.Decision) { + subBuilder.MergeFrom(Decision); + } + input.ReadMessage(subBuilder); + Decision = subBuilder; + break; + } + case 26: { + global::GatewayProtocol.DecisionRequirementsMetadata subBuilder = new global::GatewayProtocol.DecisionRequirementsMetadata(); + if (metadataCase_ == MetadataOneofCase.DecisionRequirements) { + subBuilder.MergeFrom(DecisionRequirements); + } + input.ReadMessage(subBuilder); + DecisionRequirements = subBuilder; + break; + } + case 34: { + global::GatewayProtocol.FormMetadata subBuilder = new global::GatewayProtocol.FormMetadata(); + if (metadataCase_ == MetadataOneofCase.Form) { + subBuilder.MergeFrom(Form); + } + input.ReadMessage(subBuilder); + Form = subBuilder; break; } } @@ -7044,12 +8158,40 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; - case 8: { - Key = input.ReadInt64(); + case 10: { + global::GatewayProtocol.ProcessMetadata subBuilder = new global::GatewayProtocol.ProcessMetadata(); + if (metadataCase_ == MetadataOneofCase.Process) { + subBuilder.MergeFrom(Process); + } + input.ReadMessage(subBuilder); + Process = subBuilder; break; } case 18: { - deployments_.AddEntriesFrom(ref input, _repeated_deployments_codec); + global::GatewayProtocol.DecisionMetadata subBuilder = new global::GatewayProtocol.DecisionMetadata(); + if (metadataCase_ == MetadataOneofCase.Decision) { + subBuilder.MergeFrom(Decision); + } + input.ReadMessage(subBuilder); + Decision = subBuilder; + break; + } + case 26: { + global::GatewayProtocol.DecisionRequirementsMetadata subBuilder = new global::GatewayProtocol.DecisionRequirementsMetadata(); + if (metadataCase_ == MetadataOneofCase.DecisionRequirements) { + subBuilder.MergeFrom(DecisionRequirements); + } + input.ReadMessage(subBuilder); + DecisionRequirements = subBuilder; + break; + } + case 34: { + global::GatewayProtocol.FormMetadata subBuilder = new global::GatewayProtocol.FormMetadata(); + if (metadataCase_ == MetadataOneofCase.Form) { + subBuilder.MergeFrom(Form); + } + input.ReadMessage(subBuilder); + Form = subBuilder; break; } } @@ -7059,21 +8201,21 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class Deployment : pb::IMessage + public sealed partial class ProcessMetadata : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Deployment()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProcessMetadata()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[24]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[26]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7084,7 +8226,7 @@ public sealed partial class Deployment : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Deployment() { + public ProcessMetadata() { OnConstruction(); } @@ -7092,114 +8234,118 @@ public Deployment() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Deployment(Deployment other) : this() { - switch (other.MetadataCase) { - case MetadataOneofCase.Process: - Process = other.Process.Clone(); - break; - case MetadataOneofCase.Decision: - Decision = other.Decision.Clone(); - break; - case MetadataOneofCase.DecisionRequirements: - DecisionRequirements = other.DecisionRequirements.Clone(); - break; - } - + public ProcessMetadata(ProcessMetadata other) : this() { + bpmnProcessId_ = other.bpmnProcessId_; + version_ = other.version_; + processDefinitionKey_ = other.processDefinitionKey_; + resourceName_ = other.resourceName_; + tenantId_ = other.tenantId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public Deployment Clone() { - return new Deployment(this); + public ProcessMetadata Clone() { + return new ProcessMetadata(this); } - /// Field number for the "process" field. - public const int ProcessFieldNumber = 1; + /// Field number for the "bpmnProcessId" field. + public const int BpmnProcessIdFieldNumber = 1; + private string bpmnProcessId_ = ""; /// - /// metadata of a deployed process + /// the bpmn process ID, as parsed during deployment; together with the version forms a + /// unique identifier for a specific process definition /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::GatewayProtocol.ProcessMetadata Process { - get { return metadataCase_ == MetadataOneofCase.Process ? (global::GatewayProtocol.ProcessMetadata) metadata_ : null; } + public string BpmnProcessId { + get { return bpmnProcessId_; } set { - metadata_ = value; - metadataCase_ = value == null ? MetadataOneofCase.None : MetadataOneofCase.Process; + bpmnProcessId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "decision" field. - public const int DecisionFieldNumber = 2; + /// Field number for the "version" field. + public const int VersionFieldNumber = 2; + private int version_; /// - /// metadata of a deployed decision + /// the assigned process version /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::GatewayProtocol.DecisionMetadata Decision { - get { return metadataCase_ == MetadataOneofCase.Decision ? (global::GatewayProtocol.DecisionMetadata) metadata_ : null; } + public int Version { + get { return version_; } set { - metadata_ = value; - metadataCase_ = value == null ? MetadataOneofCase.None : MetadataOneofCase.Decision; + version_ = value; } } - /// Field number for the "decisionRequirements" field. - public const int DecisionRequirementsFieldNumber = 3; + /// Field number for the "processDefinitionKey" field. + public const int ProcessDefinitionKeyFieldNumber = 3; + private long processDefinitionKey_; /// - /// metadata of a deployed decision requirements + /// the assigned key, which acts as a unique identifier for this process /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public global::GatewayProtocol.DecisionRequirementsMetadata DecisionRequirements { - get { return metadataCase_ == MetadataOneofCase.DecisionRequirements ? (global::GatewayProtocol.DecisionRequirementsMetadata) metadata_ : null; } + public long ProcessDefinitionKey { + get { return processDefinitionKey_; } set { - metadata_ = value; - metadataCase_ = value == null ? MetadataOneofCase.None : MetadataOneofCase.DecisionRequirements; + processDefinitionKey_ = value; } } - private object metadata_; - /// Enum of possible cases for the "Metadata" oneof. - public enum MetadataOneofCase { - None = 0, - Process = 1, - Decision = 2, - DecisionRequirements = 3, - } - private MetadataOneofCase metadataCase_ = MetadataOneofCase.None; + /// Field number for the "resourceName" field. + public const int ResourceNameFieldNumber = 4; + private string resourceName_ = ""; + /// + /// the resource name (see: ProcessRequestObject.name) from which this process was + /// parsed + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public MetadataOneofCase MetadataCase { - get { return metadataCase_; } + public string ResourceName { + get { return resourceName_; } + set { + resourceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } } + /// Field number for the "tenantId" field. + public const int TenantIdFieldNumber = 5; + private string tenantId_ = ""; + /// + /// the tenant id of the deployed process + /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void ClearMetadata() { - metadataCase_ = MetadataOneofCase.None; - metadata_ = null; + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = 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 Deployment); + return Equals(other as ProcessMetadata); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(Deployment other) { + public bool Equals(ProcessMetadata other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (!object.Equals(Process, other.Process)) return false; - if (!object.Equals(Decision, other.Decision)) return false; - if (!object.Equals(DecisionRequirements, other.DecisionRequirements)) return false; - if (MetadataCase != other.MetadataCase) return false; + if (BpmnProcessId != other.BpmnProcessId) return false; + if (Version != other.Version) return false; + if (ProcessDefinitionKey != other.ProcessDefinitionKey) return false; + if (ResourceName != other.ResourceName) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -7207,10 +8353,11 @@ public bool Equals(Deployment other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (metadataCase_ == MetadataOneofCase.Process) hash ^= Process.GetHashCode(); - if (metadataCase_ == MetadataOneofCase.Decision) hash ^= Decision.GetHashCode(); - if (metadataCase_ == MetadataOneofCase.DecisionRequirements) hash ^= DecisionRequirements.GetHashCode(); - hash ^= (int) metadataCase_; + if (BpmnProcessId.Length != 0) hash ^= BpmnProcessId.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); + if (ProcessDefinitionKey != 0L) hash ^= ProcessDefinitionKey.GetHashCode(); + if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7229,17 +8376,25 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (metadataCase_ == MetadataOneofCase.Process) { + if (BpmnProcessId.Length != 0) { output.WriteRawTag(10); - output.WriteMessage(Process); + output.WriteString(BpmnProcessId); } - if (metadataCase_ == MetadataOneofCase.Decision) { - output.WriteRawTag(18); - output.WriteMessage(Decision); + if (Version != 0) { + output.WriteRawTag(16); + output.WriteInt32(Version); } - if (metadataCase_ == MetadataOneofCase.DecisionRequirements) { - output.WriteRawTag(26); - output.WriteMessage(DecisionRequirements); + if (ProcessDefinitionKey != 0L) { + output.WriteRawTag(24); + output.WriteInt64(ProcessDefinitionKey); + } + if (ResourceName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ResourceName); + } + if (TenantId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TenantId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -7251,17 +8406,25 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (metadataCase_ == MetadataOneofCase.Process) { + if (BpmnProcessId.Length != 0) { output.WriteRawTag(10); - output.WriteMessage(Process); + output.WriteString(BpmnProcessId); } - if (metadataCase_ == MetadataOneofCase.Decision) { - output.WriteRawTag(18); - output.WriteMessage(Decision); + if (Version != 0) { + output.WriteRawTag(16); + output.WriteInt32(Version); } - if (metadataCase_ == MetadataOneofCase.DecisionRequirements) { - output.WriteRawTag(26); - output.WriteMessage(DecisionRequirements); + if (ProcessDefinitionKey != 0L) { + output.WriteRawTag(24); + output.WriteInt64(ProcessDefinitionKey); + } + if (ResourceName.Length != 0) { + output.WriteRawTag(34); + output.WriteString(ResourceName); + } + if (TenantId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TenantId); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -7273,14 +8436,20 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (metadataCase_ == MetadataOneofCase.Process) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Process); + if (BpmnProcessId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(BpmnProcessId); } - if (metadataCase_ == MetadataOneofCase.Decision) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(Decision); + if (Version != 0) { + size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); } - if (metadataCase_ == MetadataOneofCase.DecisionRequirements) { - size += 1 + pb::CodedOutputStream.ComputeMessageSize(DecisionRequirements); + if (ProcessDefinitionKey != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(ProcessDefinitionKey); + } + if (ResourceName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceName); + } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -7290,31 +8459,25 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(Deployment other) { + public void MergeFrom(ProcessMetadata other) { if (other == null) { return; } - switch (other.MetadataCase) { - case MetadataOneofCase.Process: - if (Process == null) { - Process = new global::GatewayProtocol.ProcessMetadata(); - } - Process.MergeFrom(other.Process); - break; - case MetadataOneofCase.Decision: - if (Decision == null) { - Decision = new global::GatewayProtocol.DecisionMetadata(); - } - Decision.MergeFrom(other.Decision); - break; - case MetadataOneofCase.DecisionRequirements: - if (DecisionRequirements == null) { - DecisionRequirements = new global::GatewayProtocol.DecisionRequirementsMetadata(); - } - DecisionRequirements.MergeFrom(other.DecisionRequirements); - break; + if (other.BpmnProcessId.Length != 0) { + BpmnProcessId = other.BpmnProcessId; + } + if (other.Version != 0) { + Version = other.Version; + } + if (other.ProcessDefinitionKey != 0L) { + ProcessDefinitionKey = other.ProcessDefinitionKey; + } + if (other.ResourceName.Length != 0) { + ResourceName = other.ResourceName; + } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; } - _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7330,31 +8493,24 @@ public void MergeFrom(pb::CodedInputStream input) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; - case 10: { - global::GatewayProtocol.ProcessMetadata subBuilder = new global::GatewayProtocol.ProcessMetadata(); - if (metadataCase_ == MetadataOneofCase.Process) { - subBuilder.MergeFrom(Process); - } - input.ReadMessage(subBuilder); - Process = subBuilder; + case 10: { + BpmnProcessId = input.ReadString(); + break; + } + case 16: { + Version = input.ReadInt32(); + break; + } + case 24: { + ProcessDefinitionKey = input.ReadInt64(); break; } - case 18: { - global::GatewayProtocol.DecisionMetadata subBuilder = new global::GatewayProtocol.DecisionMetadata(); - if (metadataCase_ == MetadataOneofCase.Decision) { - subBuilder.MergeFrom(Decision); - } - input.ReadMessage(subBuilder); - Decision = subBuilder; + case 34: { + ResourceName = input.ReadString(); break; } - case 26: { - global::GatewayProtocol.DecisionRequirementsMetadata subBuilder = new global::GatewayProtocol.DecisionRequirementsMetadata(); - if (metadataCase_ == MetadataOneofCase.DecisionRequirements) { - subBuilder.MergeFrom(DecisionRequirements); - } - input.ReadMessage(subBuilder); - DecisionRequirements = subBuilder; + case 42: { + TenantId = input.ReadString(); break; } } @@ -7373,30 +8529,23 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - global::GatewayProtocol.ProcessMetadata subBuilder = new global::GatewayProtocol.ProcessMetadata(); - if (metadataCase_ == MetadataOneofCase.Process) { - subBuilder.MergeFrom(Process); - } - input.ReadMessage(subBuilder); - Process = subBuilder; + BpmnProcessId = input.ReadString(); break; } - case 18: { - global::GatewayProtocol.DecisionMetadata subBuilder = new global::GatewayProtocol.DecisionMetadata(); - if (metadataCase_ == MetadataOneofCase.Decision) { - subBuilder.MergeFrom(Decision); - } - input.ReadMessage(subBuilder); - Decision = subBuilder; + case 16: { + Version = input.ReadInt32(); break; } - case 26: { - global::GatewayProtocol.DecisionRequirementsMetadata subBuilder = new global::GatewayProtocol.DecisionRequirementsMetadata(); - if (metadataCase_ == MetadataOneofCase.DecisionRequirements) { - subBuilder.MergeFrom(DecisionRequirements); - } - input.ReadMessage(subBuilder); - DecisionRequirements = subBuilder; + case 24: { + ProcessDefinitionKey = input.ReadInt64(); + break; + } + case 34: { + ResourceName = input.ReadString(); + break; + } + case 42: { + TenantId = input.ReadString(); break; } } @@ -7406,21 +8555,21 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class ProcessMetadata : pb::IMessage + public sealed partial class DecisionMetadata : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ProcessMetadata()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DecisionMetadata()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[25]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[27]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7431,7 +8580,7 @@ public sealed partial class ProcessMetadata : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProcessMetadata() { + public DecisionMetadata() { OnConstruction(); } @@ -7439,41 +8588,59 @@ public ProcessMetadata() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProcessMetadata(ProcessMetadata other) : this() { - bpmnProcessId_ = other.bpmnProcessId_; + public DecisionMetadata(DecisionMetadata other) : this() { + dmnDecisionId_ = other.dmnDecisionId_; + dmnDecisionName_ = other.dmnDecisionName_; version_ = other.version_; - processDefinitionKey_ = other.processDefinitionKey_; - resourceName_ = other.resourceName_; + decisionKey_ = other.decisionKey_; + dmnDecisionRequirementsId_ = other.dmnDecisionRequirementsId_; + decisionRequirementsKey_ = other.decisionRequirementsKey_; + tenantId_ = other.tenantId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public ProcessMetadata Clone() { - return new ProcessMetadata(this); + public DecisionMetadata Clone() { + return new DecisionMetadata(this); } - /// Field number for the "bpmnProcessId" field. - public const int BpmnProcessIdFieldNumber = 1; - private string bpmnProcessId_ = ""; + /// Field number for the "dmnDecisionId" field. + public const int DmnDecisionIdFieldNumber = 1; + private string dmnDecisionId_ = ""; /// - /// the bpmn process ID, as parsed during deployment; together with the version forms a - /// unique identifier for a specific process definition + /// the dmn decision ID, as parsed during deployment; together with the + /// versions forms a unique identifier for a specific decision /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string BpmnProcessId { - get { return bpmnProcessId_; } + public string DmnDecisionId { + get { return dmnDecisionId_; } set { - bpmnProcessId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + dmnDecisionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "dmnDecisionName" field. + public const int DmnDecisionNameFieldNumber = 2; + private string dmnDecisionName_ = ""; + /// + /// the dmn name of the decision, as parsed during deployment + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string DmnDecisionName { + get { return dmnDecisionName_; } + set { + dmnDecisionName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "version" field. - public const int VersionFieldNumber = 2; + public const int VersionFieldNumber = 3; private int version_; /// - /// the assigned process version + /// the assigned decision version /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7484,56 +8651,91 @@ public int Version { } } - /// Field number for the "processDefinitionKey" field. - public const int ProcessDefinitionKeyFieldNumber = 3; - private long processDefinitionKey_; + /// Field number for the "decisionKey" field. + public const int DecisionKeyFieldNumber = 4; + private long decisionKey_; /// - /// the assigned key, which acts as a unique identifier for this process + /// the assigned decision key, which acts as a unique identifier for this + /// decision /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long ProcessDefinitionKey { - get { return processDefinitionKey_; } + public long DecisionKey { + get { return decisionKey_; } set { - processDefinitionKey_ = value; + decisionKey_ = value; } } - /// Field number for the "resourceName" field. - public const int ResourceNameFieldNumber = 4; - private string resourceName_ = ""; + /// Field number for the "dmnDecisionRequirementsId" field. + public const int DmnDecisionRequirementsIdFieldNumber = 5; + private string dmnDecisionRequirementsId_ = ""; /// - /// the resource name (see: ProcessRequestObject.name) from which this process was - /// parsed + /// the dmn ID of the decision requirements graph that this decision is part + /// of, as parsed during deployment /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string ResourceName { - get { return resourceName_; } + public string DmnDecisionRequirementsId { + get { return dmnDecisionRequirementsId_; } set { - resourceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + dmnDecisionRequirementsId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + + /// Field number for the "decisionRequirementsKey" field. + public const int DecisionRequirementsKeyFieldNumber = 6; + private long decisionRequirementsKey_; + /// + /// the assigned key of the decision requirements graph that this decision is + /// part of + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public long DecisionRequirementsKey { + get { return decisionRequirementsKey_; } + set { + decisionRequirementsKey_ = value; + } + } + + /// Field number for the "tenantId" field. + public const int TenantIdFieldNumber = 7; + private string tenantId_ = ""; + /// + /// the tenant id of the deployed decision + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = 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 ProcessMetadata); + return Equals(other as DecisionMetadata); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(ProcessMetadata other) { + public bool Equals(DecisionMetadata other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (BpmnProcessId != other.BpmnProcessId) return false; + if (DmnDecisionId != other.DmnDecisionId) return false; + if (DmnDecisionName != other.DmnDecisionName) return false; if (Version != other.Version) return false; - if (ProcessDefinitionKey != other.ProcessDefinitionKey) return false; - if (ResourceName != other.ResourceName) return false; + if (DecisionKey != other.DecisionKey) return false; + if (DmnDecisionRequirementsId != other.DmnDecisionRequirementsId) return false; + if (DecisionRequirementsKey != other.DecisionRequirementsKey) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -7541,10 +8743,13 @@ public bool Equals(ProcessMetadata other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (BpmnProcessId.Length != 0) hash ^= BpmnProcessId.GetHashCode(); + if (DmnDecisionId.Length != 0) hash ^= DmnDecisionId.GetHashCode(); + if (DmnDecisionName.Length != 0) hash ^= DmnDecisionName.GetHashCode(); if (Version != 0) hash ^= Version.GetHashCode(); - if (ProcessDefinitionKey != 0L) hash ^= ProcessDefinitionKey.GetHashCode(); - if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); + if (DecisionKey != 0L) hash ^= DecisionKey.GetHashCode(); + if (DmnDecisionRequirementsId.Length != 0) hash ^= DmnDecisionRequirementsId.GetHashCode(); + if (DecisionRequirementsKey != 0L) hash ^= DecisionRequirementsKey.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7563,21 +8768,33 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (BpmnProcessId.Length != 0) { + if (DmnDecisionId.Length != 0) { output.WriteRawTag(10); - output.WriteString(BpmnProcessId); + output.WriteString(DmnDecisionId); + } + if (DmnDecisionName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DmnDecisionName); } if (Version != 0) { - output.WriteRawTag(16); + output.WriteRawTag(24); output.WriteInt32(Version); } - if (ProcessDefinitionKey != 0L) { - output.WriteRawTag(24); - output.WriteInt64(ProcessDefinitionKey); + if (DecisionKey != 0L) { + output.WriteRawTag(32); + output.WriteInt64(DecisionKey); } - if (ResourceName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(ResourceName); + if (DmnDecisionRequirementsId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(DmnDecisionRequirementsId); + } + if (DecisionRequirementsKey != 0L) { + output.WriteRawTag(48); + output.WriteInt64(DecisionRequirementsKey); + } + if (TenantId.Length != 0) { + output.WriteRawTag(58); + output.WriteString(TenantId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -7589,21 +8806,33 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (BpmnProcessId.Length != 0) { + if (DmnDecisionId.Length != 0) { output.WriteRawTag(10); - output.WriteString(BpmnProcessId); + output.WriteString(DmnDecisionId); + } + if (DmnDecisionName.Length != 0) { + output.WriteRawTag(18); + output.WriteString(DmnDecisionName); } if (Version != 0) { - output.WriteRawTag(16); + output.WriteRawTag(24); output.WriteInt32(Version); } - if (ProcessDefinitionKey != 0L) { - output.WriteRawTag(24); - output.WriteInt64(ProcessDefinitionKey); + if (DecisionKey != 0L) { + output.WriteRawTag(32); + output.WriteInt64(DecisionKey); } - if (ResourceName.Length != 0) { - output.WriteRawTag(34); - output.WriteString(ResourceName); + if (DmnDecisionRequirementsId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(DmnDecisionRequirementsId); + } + if (DecisionRequirementsKey != 0L) { + output.WriteRawTag(48); + output.WriteInt64(DecisionRequirementsKey); + } + if (TenantId.Length != 0) { + output.WriteRawTag(58); + output.WriteString(TenantId); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -7615,17 +8844,26 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (BpmnProcessId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(BpmnProcessId); + if (DmnDecisionId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DmnDecisionId); + } + if (DmnDecisionName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DmnDecisionName); } if (Version != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); } - if (ProcessDefinitionKey != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(ProcessDefinitionKey); + if (DecisionKey != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(DecisionKey); } - if (ResourceName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceName); + if (DmnDecisionRequirementsId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DmnDecisionRequirementsId); + } + if (DecisionRequirementsKey != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(DecisionRequirementsKey); + } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); @@ -7635,21 +8873,30 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(ProcessMetadata other) { + public void MergeFrom(DecisionMetadata other) { if (other == null) { return; } - if (other.BpmnProcessId.Length != 0) { - BpmnProcessId = other.BpmnProcessId; + if (other.DmnDecisionId.Length != 0) { + DmnDecisionId = other.DmnDecisionId; + } + if (other.DmnDecisionName.Length != 0) { + DmnDecisionName = other.DmnDecisionName; } if (other.Version != 0) { Version = other.Version; } - if (other.ProcessDefinitionKey != 0L) { - ProcessDefinitionKey = other.ProcessDefinitionKey; + if (other.DecisionKey != 0L) { + DecisionKey = other.DecisionKey; } - if (other.ResourceName.Length != 0) { - ResourceName = other.ResourceName; + if (other.DmnDecisionRequirementsId.Length != 0) { + DmnDecisionRequirementsId = other.DmnDecisionRequirementsId; + } + if (other.DecisionRequirementsKey != 0L) { + DecisionRequirementsKey = other.DecisionRequirementsKey; + } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -7667,19 +8914,31 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - BpmnProcessId = input.ReadString(); + DmnDecisionId = input.ReadString(); break; } - case 16: { - Version = input.ReadInt32(); + case 18: { + DmnDecisionName = input.ReadString(); break; } case 24: { - ProcessDefinitionKey = input.ReadInt64(); + Version = input.ReadInt32(); break; } - case 34: { - ResourceName = input.ReadString(); + case 32: { + DecisionKey = input.ReadInt64(); + break; + } + case 42: { + DmnDecisionRequirementsId = input.ReadString(); + break; + } + case 48: { + DecisionRequirementsKey = input.ReadInt64(); + break; + } + case 58: { + TenantId = input.ReadString(); break; } } @@ -7698,19 +8957,31 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - BpmnProcessId = input.ReadString(); + DmnDecisionId = input.ReadString(); break; } - case 16: { - Version = input.ReadInt32(); + case 18: { + DmnDecisionName = input.ReadString(); break; } case 24: { - ProcessDefinitionKey = input.ReadInt64(); + Version = input.ReadInt32(); break; } - case 34: { - ResourceName = input.ReadString(); + case 32: { + DecisionKey = input.ReadInt64(); + break; + } + case 42: { + DmnDecisionRequirementsId = input.ReadString(); + break; + } + case 48: { + DecisionRequirementsKey = input.ReadInt64(); + break; + } + case 58: { + TenantId = input.ReadString(); break; } } @@ -7720,21 +8991,21 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class DecisionMetadata : pb::IMessage + public sealed partial class DecisionRequirementsMetadata : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DecisionMetadata()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DecisionRequirementsMetadata()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[26]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[28]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -7745,7 +9016,7 @@ public sealed partial class DecisionMetadata : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DecisionMetadata() { + public DecisionRequirementsMetadata() { OnConstruction(); } @@ -7753,50 +9024,50 @@ public DecisionMetadata() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DecisionMetadata(DecisionMetadata other) : this() { - dmnDecisionId_ = other.dmnDecisionId_; - dmnDecisionName_ = other.dmnDecisionName_; - version_ = other.version_; - decisionKey_ = other.decisionKey_; + public DecisionRequirementsMetadata(DecisionRequirementsMetadata other) : this() { dmnDecisionRequirementsId_ = other.dmnDecisionRequirementsId_; + dmnDecisionRequirementsName_ = other.dmnDecisionRequirementsName_; + version_ = other.version_; decisionRequirementsKey_ = other.decisionRequirementsKey_; + resourceName_ = other.resourceName_; + tenantId_ = other.tenantId_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public DecisionMetadata Clone() { - return new DecisionMetadata(this); + public DecisionRequirementsMetadata Clone() { + return new DecisionRequirementsMetadata(this); } - /// Field number for the "dmnDecisionId" field. - public const int DmnDecisionIdFieldNumber = 1; - private string dmnDecisionId_ = ""; + /// Field number for the "dmnDecisionRequirementsId" field. + public const int DmnDecisionRequirementsIdFieldNumber = 1; + private string dmnDecisionRequirementsId_ = ""; /// - /// the dmn decision ID, as parsed during deployment; together with the - /// versions forms a unique identifier for a specific decision + /// the dmn decision requirements ID, as parsed during deployment; together + /// with the versions forms a unique identifier for a specific decision /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DmnDecisionId { - get { return dmnDecisionId_; } + public string DmnDecisionRequirementsId { + get { return dmnDecisionRequirementsId_; } set { - dmnDecisionId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + dmnDecisionRequirementsId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "dmnDecisionName" field. - public const int DmnDecisionNameFieldNumber = 2; - private string dmnDecisionName_ = ""; + /// Field number for the "dmnDecisionRequirementsName" field. + public const int DmnDecisionRequirementsNameFieldNumber = 2; + private string dmnDecisionRequirementsName_ = ""; /// - /// the dmn name of the decision, as parsed during deployment + /// the dmn name of the decision requirements, as parsed during deployment /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DmnDecisionName { - get { return dmnDecisionName_; } + public string DmnDecisionRequirementsName { + get { return dmnDecisionRequirementsName_; } set { - dmnDecisionName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + dmnDecisionRequirementsName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } @@ -7804,7 +9075,7 @@ public string DmnDecisionName { public const int VersionFieldNumber = 3; private int version_; /// - /// the assigned decision version + /// the assigned decision requirements version /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -7815,75 +9086,74 @@ public int Version { } } - /// Field number for the "decisionKey" field. - public const int DecisionKeyFieldNumber = 4; - private long decisionKey_; + /// Field number for the "decisionRequirementsKey" field. + public const int DecisionRequirementsKeyFieldNumber = 4; + private long decisionRequirementsKey_; /// - /// the assigned decision key, which acts as a unique identifier for this - /// decision + /// the assigned decision requirements key, which acts as a unique identifier + /// for this decision requirements /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long DecisionKey { - get { return decisionKey_; } + public long DecisionRequirementsKey { + get { return decisionRequirementsKey_; } set { - decisionKey_ = value; + decisionRequirementsKey_ = value; } } - /// Field number for the "dmnDecisionRequirementsId" field. - public const int DmnDecisionRequirementsIdFieldNumber = 5; - private string dmnDecisionRequirementsId_ = ""; + /// Field number for the "resourceName" field. + public const int ResourceNameFieldNumber = 5; + private string resourceName_ = ""; /// - /// the dmn ID of the decision requirements graph that this decision is part - /// of, as parsed during deployment + /// the resource name (see: Resource.name) from which this decision + /// requirements was parsed /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DmnDecisionRequirementsId { - get { return dmnDecisionRequirementsId_; } + public string ResourceName { + get { return resourceName_; } set { - dmnDecisionRequirementsId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + resourceName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } - /// Field number for the "decisionRequirementsKey" field. - public const int DecisionRequirementsKeyFieldNumber = 6; - private long decisionRequirementsKey_; + /// Field number for the "tenantId" field. + public const int TenantIdFieldNumber = 6; + private string tenantId_ = ""; /// - /// the assigned key of the decision requirements graph that this decision is - /// part of + /// the tenant id of the deployed decision requirements /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long DecisionRequirementsKey { - get { return decisionRequirementsKey_; } + public string TenantId { + get { return tenantId_; } set { - decisionRequirementsKey_ = value; + tenantId_ = 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 DecisionMetadata); + return Equals(other as DecisionRequirementsMetadata); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DecisionMetadata other) { + public bool Equals(DecisionRequirementsMetadata other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (DmnDecisionId != other.DmnDecisionId) return false; - if (DmnDecisionName != other.DmnDecisionName) return false; - if (Version != other.Version) return false; - if (DecisionKey != other.DecisionKey) return false; if (DmnDecisionRequirementsId != other.DmnDecisionRequirementsId) return false; + if (DmnDecisionRequirementsName != other.DmnDecisionRequirementsName) return false; + if (Version != other.Version) return false; if (DecisionRequirementsKey != other.DecisionRequirementsKey) return false; + if (ResourceName != other.ResourceName) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -7891,12 +9161,12 @@ public bool Equals(DecisionMetadata other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (DmnDecisionId.Length != 0) hash ^= DmnDecisionId.GetHashCode(); - if (DmnDecisionName.Length != 0) hash ^= DmnDecisionName.GetHashCode(); - if (Version != 0) hash ^= Version.GetHashCode(); - if (DecisionKey != 0L) hash ^= DecisionKey.GetHashCode(); if (DmnDecisionRequirementsId.Length != 0) hash ^= DmnDecisionRequirementsId.GetHashCode(); + if (DmnDecisionRequirementsName.Length != 0) hash ^= DmnDecisionRequirementsName.GetHashCode(); + if (Version != 0) hash ^= Version.GetHashCode(); if (DecisionRequirementsKey != 0L) hash ^= DecisionRequirementsKey.GetHashCode(); + if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -7915,29 +9185,29 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (DmnDecisionId.Length != 0) { + if (DmnDecisionRequirementsId.Length != 0) { output.WriteRawTag(10); - output.WriteString(DmnDecisionId); + output.WriteString(DmnDecisionRequirementsId); } - if (DmnDecisionName.Length != 0) { + if (DmnDecisionRequirementsName.Length != 0) { output.WriteRawTag(18); - output.WriteString(DmnDecisionName); + output.WriteString(DmnDecisionRequirementsName); } if (Version != 0) { output.WriteRawTag(24); output.WriteInt32(Version); } - if (DecisionKey != 0L) { + if (DecisionRequirementsKey != 0L) { output.WriteRawTag(32); - output.WriteInt64(DecisionKey); + output.WriteInt64(DecisionRequirementsKey); } - if (DmnDecisionRequirementsId.Length != 0) { + if (ResourceName.Length != 0) { output.WriteRawTag(42); - output.WriteString(DmnDecisionRequirementsId); + output.WriteString(ResourceName); } - if (DecisionRequirementsKey != 0L) { - output.WriteRawTag(48); - output.WriteInt64(DecisionRequirementsKey); + if (TenantId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TenantId); } if (_unknownFields != null) { _unknownFields.WriteTo(output); @@ -7949,29 +9219,29 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (DmnDecisionId.Length != 0) { + if (DmnDecisionRequirementsId.Length != 0) { output.WriteRawTag(10); - output.WriteString(DmnDecisionId); + output.WriteString(DmnDecisionRequirementsId); } - if (DmnDecisionName.Length != 0) { + if (DmnDecisionRequirementsName.Length != 0) { output.WriteRawTag(18); - output.WriteString(DmnDecisionName); + output.WriteString(DmnDecisionRequirementsName); } if (Version != 0) { output.WriteRawTag(24); output.WriteInt32(Version); } - if (DecisionKey != 0L) { + if (DecisionRequirementsKey != 0L) { output.WriteRawTag(32); - output.WriteInt64(DecisionKey); + output.WriteInt64(DecisionRequirementsKey); } - if (DmnDecisionRequirementsId.Length != 0) { + if (ResourceName.Length != 0) { output.WriteRawTag(42); - output.WriteString(DmnDecisionRequirementsId); + output.WriteString(ResourceName); } - if (DecisionRequirementsKey != 0L) { - output.WriteRawTag(48); - output.WriteInt64(DecisionRequirementsKey); + if (TenantId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TenantId); } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); @@ -7983,24 +9253,24 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (DmnDecisionId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DmnDecisionId); + if (DmnDecisionRequirementsId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DmnDecisionRequirementsId); } - if (DmnDecisionName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DmnDecisionName); + if (DmnDecisionRequirementsName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(DmnDecisionRequirementsName); } if (Version != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); } - if (DecisionKey != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(DecisionKey); - } - if (DmnDecisionRequirementsId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DmnDecisionRequirementsId); - } if (DecisionRequirementsKey != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(DecisionRequirementsKey); } + if (ResourceName.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceName); + } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -8009,28 +9279,28 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DecisionMetadata other) { + public void MergeFrom(DecisionRequirementsMetadata other) { if (other == null) { return; } - if (other.DmnDecisionId.Length != 0) { - DmnDecisionId = other.DmnDecisionId; + if (other.DmnDecisionRequirementsId.Length != 0) { + DmnDecisionRequirementsId = other.DmnDecisionRequirementsId; } - if (other.DmnDecisionName.Length != 0) { - DmnDecisionName = other.DmnDecisionName; + if (other.DmnDecisionRequirementsName.Length != 0) { + DmnDecisionRequirementsName = other.DmnDecisionRequirementsName; } if (other.Version != 0) { Version = other.Version; } - if (other.DecisionKey != 0L) { - DecisionKey = other.DecisionKey; - } - if (other.DmnDecisionRequirementsId.Length != 0) { - DmnDecisionRequirementsId = other.DmnDecisionRequirementsId; - } if (other.DecisionRequirementsKey != 0L) { DecisionRequirementsKey = other.DecisionRequirementsKey; } + if (other.ResourceName.Length != 0) { + ResourceName = other.ResourceName; + } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -8047,11 +9317,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - DmnDecisionId = input.ReadString(); + DmnDecisionRequirementsId = input.ReadString(); break; } case 18: { - DmnDecisionName = input.ReadString(); + DmnDecisionRequirementsName = input.ReadString(); break; } case 24: { @@ -8059,15 +9329,15 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 32: { - DecisionKey = input.ReadInt64(); + DecisionRequirementsKey = input.ReadInt64(); break; } case 42: { - DmnDecisionRequirementsId = input.ReadString(); + ResourceName = input.ReadString(); break; } - case 48: { - DecisionRequirementsKey = input.ReadInt64(); + case 50: { + TenantId = input.ReadString(); break; } } @@ -8086,11 +9356,11 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - DmnDecisionId = input.ReadString(); + DmnDecisionRequirementsId = input.ReadString(); break; } case 18: { - DmnDecisionName = input.ReadString(); + DmnDecisionRequirementsName = input.ReadString(); break; } case 24: { @@ -8098,15 +9368,15 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 32: { - DecisionKey = input.ReadInt64(); + DecisionRequirementsKey = input.ReadInt64(); break; } case 42: { - DmnDecisionRequirementsId = input.ReadString(); + ResourceName = input.ReadString(); break; } - case 48: { - DecisionRequirementsKey = input.ReadInt64(); + case 50: { + TenantId = input.ReadString(); break; } } @@ -8116,21 +9386,21 @@ public void MergeFrom(pb::CodedInputStream input) { } - public sealed partial class DecisionRequirementsMetadata : pb::IMessage + public sealed partial class FormMetadata : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { - private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DecisionRequirementsMetadata()); + private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new FormMetadata()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public static pb::MessageParser Parser { get { return _parser; } } + 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::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[27]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[29]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8141,7 +9411,7 @@ public sealed partial class DecisionRequirementsMetadata : pb::IMessageField number for the "dmnDecisionRequirementsId" field. - public const int DmnDecisionRequirementsIdFieldNumber = 1; - private string dmnDecisionRequirementsId_ = ""; - /// - /// the dmn decision requirements ID, as parsed during deployment; together - /// with the versions forms a unique identifier for a specific decision - /// - [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DmnDecisionRequirementsId { - get { return dmnDecisionRequirementsId_; } - set { - dmnDecisionRequirementsId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); - } + public FormMetadata Clone() { + return new FormMetadata(this); } - /// Field number for the "dmnDecisionRequirementsName" field. - public const int DmnDecisionRequirementsNameFieldNumber = 2; - private string dmnDecisionRequirementsName_ = ""; + /// Field number for the "formId" field. + public const int FormIdFieldNumber = 1; + private string formId_ = ""; /// - /// the dmn name of the decision requirements, as parsed during deployment + /// the form ID, as parsed during deployment; together with the + /// versions forms a unique identifier for a specific form /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public string DmnDecisionRequirementsName { - get { return dmnDecisionRequirementsName_; } + public string FormId { + get { return formId_; } set { - dmnDecisionRequirementsName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + formId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "version" field. - public const int VersionFieldNumber = 3; + public const int VersionFieldNumber = 2; private int version_; /// - /// the assigned decision requirements version + /// the assigned form version /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8210,28 +9465,26 @@ public int Version { } } - /// Field number for the "decisionRequirementsKey" field. - public const int DecisionRequirementsKeyFieldNumber = 4; - private long decisionRequirementsKey_; + /// Field number for the "formKey" field. + public const int FormKeyFieldNumber = 3; + private long formKey_; /// - /// the assigned decision requirements key, which acts as a unique identifier - /// for this decision requirements + /// the assigned key, which acts as a unique identifier for this form /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public long DecisionRequirementsKey { - get { return decisionRequirementsKey_; } + public long FormKey { + get { return formKey_; } set { - decisionRequirementsKey_ = value; + formKey_ = value; } } /// Field number for the "resourceName" field. - public const int ResourceNameFieldNumber = 5; + public const int ResourceNameFieldNumber = 4; private string resourceName_ = ""; /// - /// the resource name (see: Resource.name) from which this decision - /// requirements was parsed + /// the resource name /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] @@ -8242,26 +9495,41 @@ public string ResourceName { } } + /// Field number for the "tenantId" field. + public const int TenantIdFieldNumber = 5; + private string tenantId_ = ""; + /// + /// the tenant id of the deployed form + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = 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 DecisionRequirementsMetadata); + return Equals(other as FormMetadata); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public bool Equals(DecisionRequirementsMetadata other) { + public bool Equals(FormMetadata other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } - if (DmnDecisionRequirementsId != other.DmnDecisionRequirementsId) return false; - if (DmnDecisionRequirementsName != other.DmnDecisionRequirementsName) return false; + if (FormId != other.FormId) return false; if (Version != other.Version) return false; - if (DecisionRequirementsKey != other.DecisionRequirementsKey) return false; + if (FormKey != other.FormKey) return false; if (ResourceName != other.ResourceName) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -8269,11 +9537,11 @@ public bool Equals(DecisionRequirementsMetadata other) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override int GetHashCode() { int hash = 1; - if (DmnDecisionRequirementsId.Length != 0) hash ^= DmnDecisionRequirementsId.GetHashCode(); - if (DmnDecisionRequirementsName.Length != 0) hash ^= DmnDecisionRequirementsName.GetHashCode(); + if (FormId.Length != 0) hash ^= FormId.GetHashCode(); if (Version != 0) hash ^= Version.GetHashCode(); - if (DecisionRequirementsKey != 0L) hash ^= DecisionRequirementsKey.GetHashCode(); + if (FormKey != 0L) hash ^= FormKey.GetHashCode(); if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -8292,26 +9560,26 @@ public void WriteTo(pb::CodedOutputStream output) { #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE output.WriteRawMessage(this); #else - if (DmnDecisionRequirementsId.Length != 0) { + if (FormId.Length != 0) { output.WriteRawTag(10); - output.WriteString(DmnDecisionRequirementsId); - } - if (DmnDecisionRequirementsName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(DmnDecisionRequirementsName); + output.WriteString(FormId); } if (Version != 0) { - output.WriteRawTag(24); + output.WriteRawTag(16); output.WriteInt32(Version); } - if (DecisionRequirementsKey != 0L) { - output.WriteRawTag(32); - output.WriteInt64(DecisionRequirementsKey); + if (FormKey != 0L) { + output.WriteRawTag(24); + output.WriteInt64(FormKey); } if (ResourceName.Length != 0) { - output.WriteRawTag(42); + output.WriteRawTag(34); output.WriteString(ResourceName); } + if (TenantId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -8322,26 +9590,26 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { - if (DmnDecisionRequirementsId.Length != 0) { + if (FormId.Length != 0) { output.WriteRawTag(10); - output.WriteString(DmnDecisionRequirementsId); - } - if (DmnDecisionRequirementsName.Length != 0) { - output.WriteRawTag(18); - output.WriteString(DmnDecisionRequirementsName); + output.WriteString(FormId); } if (Version != 0) { - output.WriteRawTag(24); + output.WriteRawTag(16); output.WriteInt32(Version); } - if (DecisionRequirementsKey != 0L) { - output.WriteRawTag(32); - output.WriteInt64(DecisionRequirementsKey); + if (FormKey != 0L) { + output.WriteRawTag(24); + output.WriteInt64(FormKey); } if (ResourceName.Length != 0) { - output.WriteRawTag(42); + output.WriteRawTag(34); output.WriteString(ResourceName); } + if (TenantId.Length != 0) { + output.WriteRawTag(42); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -8352,21 +9620,21 @@ public void WriteTo(pb::CodedOutputStream output) { [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int CalculateSize() { int size = 0; - if (DmnDecisionRequirementsId.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DmnDecisionRequirementsId); - } - if (DmnDecisionRequirementsName.Length != 0) { - size += 1 + pb::CodedOutputStream.ComputeStringSize(DmnDecisionRequirementsName); + if (FormId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(FormId); } if (Version != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Version); } - if (DecisionRequirementsKey != 0L) { - size += 1 + pb::CodedOutputStream.ComputeInt64Size(DecisionRequirementsKey); + if (FormKey != 0L) { + size += 1 + pb::CodedOutputStream.ComputeInt64Size(FormKey); } if (ResourceName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceName); } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -8375,25 +9643,25 @@ public int CalculateSize() { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] - public void MergeFrom(DecisionRequirementsMetadata other) { + public void MergeFrom(FormMetadata other) { if (other == null) { return; } - if (other.DmnDecisionRequirementsId.Length != 0) { - DmnDecisionRequirementsId = other.DmnDecisionRequirementsId; - } - if (other.DmnDecisionRequirementsName.Length != 0) { - DmnDecisionRequirementsName = other.DmnDecisionRequirementsName; + if (other.FormId.Length != 0) { + FormId = other.FormId; } if (other.Version != 0) { Version = other.Version; } - if (other.DecisionRequirementsKey != 0L) { - DecisionRequirementsKey = other.DecisionRequirementsKey; + if (other.FormKey != 0L) { + FormKey = other.FormKey; } if (other.ResourceName.Length != 0) { ResourceName = other.ResourceName; } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -8410,23 +9678,23 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { - DmnDecisionRequirementsId = input.ReadString(); + FormId = input.ReadString(); break; } - case 18: { - DmnDecisionRequirementsName = input.ReadString(); + case 16: { + Version = input.ReadInt32(); break; } case 24: { - Version = input.ReadInt32(); + FormKey = input.ReadInt64(); break; } - case 32: { - DecisionRequirementsKey = input.ReadInt64(); + case 34: { + ResourceName = input.ReadString(); break; } case 42: { - ResourceName = input.ReadString(); + TenantId = input.ReadString(); break; } } @@ -8445,23 +9713,23 @@ public void MergeFrom(pb::CodedInputStream input) { _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 10: { - DmnDecisionRequirementsId = input.ReadString(); + FormId = input.ReadString(); break; } - case 18: { - DmnDecisionRequirementsName = input.ReadString(); + case 16: { + Version = input.ReadInt32(); break; } case 24: { - Version = input.ReadInt32(); + FormKey = input.ReadInt64(); break; } - case 32: { - DecisionRequirementsKey = input.ReadInt64(); + case 34: { + ResourceName = input.ReadString(); break; } case 42: { - ResourceName = input.ReadString(); + TenantId = input.ReadString(); break; } } @@ -8485,7 +9753,7 @@ public sealed partial class FailJobRequest : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[28]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[30]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8843,7 +10111,7 @@ public sealed partial class FailJobResponse : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[29]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[31]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -8995,7 +10263,7 @@ public sealed partial class ThrowErrorRequest : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[30]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[32]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -9311,7 +10579,7 @@ public sealed partial class ThrowErrorResponse : pb::IMessageField number for the "tenantId" field. + public const int TenantIdFieldNumber = 6; + private string tenantId_ = ""; + /// + /// the tenant id of the message + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -9594,6 +10878,7 @@ public bool Equals(PublishMessageRequest other) { if (TimeToLive != other.TimeToLive) return false; if (MessageId != other.MessageId) return false; if (Variables != other.Variables) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -9606,6 +10891,7 @@ public override int GetHashCode() { if (TimeToLive != 0L) hash ^= TimeToLive.GetHashCode(); if (MessageId.Length != 0) hash ^= MessageId.GetHashCode(); if (Variables.Length != 0) hash ^= Variables.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9644,6 +10930,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(42); output.WriteString(Variables); } + if (TenantId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -9674,6 +10964,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(42); output.WriteString(Variables); } + if (TenantId.Length != 0) { + output.WriteRawTag(50); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -9699,6 +10993,9 @@ public int CalculateSize() { if (Variables.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Variables); } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -9726,6 +11023,9 @@ public void MergeFrom(PublishMessageRequest other) { if (other.Variables.Length != 0) { Variables = other.Variables; } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -9761,6 +11061,10 @@ public void MergeFrom(pb::CodedInputStream input) { Variables = input.ReadString(); break; } + case 50: { + TenantId = input.ReadString(); + break; + } } } #endif @@ -9796,6 +11100,10 @@ public void MergeFrom(pb::CodedInputStream input) { Variables = input.ReadString(); break; } + case 50: { + TenantId = input.ReadString(); + break; + } } } } @@ -9817,7 +11125,7 @@ public sealed partial class PublishMessageResponse : pb::IMessageField number for the "tenantId" field. + public const int TenantIdFieldNumber = 2; + private string tenantId_ = ""; + /// + /// the tenant id of the message + /// + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] + [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] + public string TenantId { + get { return tenantId_; } + set { + tenantId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); + } + } + [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { @@ -9878,6 +11202,7 @@ public bool Equals(PublishMessageResponse other) { return true; } if (Key != other.Key) return false; + if (TenantId != other.TenantId) return false; return Equals(_unknownFields, other._unknownFields); } @@ -9886,6 +11211,7 @@ public bool Equals(PublishMessageResponse other) { public override int GetHashCode() { int hash = 1; if (Key != 0L) hash ^= Key.GetHashCode(); + if (TenantId.Length != 0) hash ^= TenantId.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } @@ -9908,6 +11234,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteInt64(Key); } + if (TenantId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(output); } @@ -9922,6 +11252,10 @@ public void WriteTo(pb::CodedOutputStream output) { output.WriteRawTag(8); output.WriteInt64(Key); } + if (TenantId.Length != 0) { + output.WriteRawTag(18); + output.WriteString(TenantId); + } if (_unknownFields != null) { _unknownFields.WriteTo(ref output); } @@ -9935,6 +11269,9 @@ public int CalculateSize() { if (Key != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Key); } + if (TenantId.Length != 0) { + size += 1 + pb::CodedOutputStream.ComputeStringSize(TenantId); + } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } @@ -9950,6 +11287,9 @@ public void MergeFrom(PublishMessageResponse other) { if (other.Key != 0L) { Key = other.Key; } + if (other.TenantId.Length != 0) { + TenantId = other.TenantId; + } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); } @@ -9969,6 +11309,10 @@ public void MergeFrom(pb::CodedInputStream input) { Key = input.ReadInt64(); break; } + case 18: { + TenantId = input.ReadString(); + break; + } } } #endif @@ -9988,6 +11332,10 @@ public void MergeFrom(pb::CodedInputStream input) { Key = input.ReadInt64(); break; } + case 18: { + TenantId = input.ReadString(); + break; + } } } } @@ -10009,7 +11357,7 @@ public sealed partial class ResolveIncidentRequest : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[36]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[38]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10505,7 +11853,7 @@ public sealed partial class TopologyResponse : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[37]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[39]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -10846,7 +12194,7 @@ public sealed partial class BrokerInfo : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[38]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[40]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11187,7 +12535,7 @@ public sealed partial class Partition : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { - get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[39]; } + get { return global::GatewayProtocol.GatewayReflection.Descriptor.MessageTypes[41]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -11485,7 +12833,7 @@ public sealed partial class UpdateJobRetriesRequest : pb::IMessage(grpc::DeserializationContext context, gl [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_gateway_protocol_ActivateJobsResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::GatewayProtocol.ActivateJobsResponse.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gateway_protocol_StreamActivatedJobsRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::GatewayProtocol.StreamActivatedJobsRequest.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Marshaller __Marshaller_gateway_protocol_ActivatedJob = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::GatewayProtocol.ActivatedJob.Parser)); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_gateway_protocol_CancelProcessInstanceRequest = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::GatewayProtocol.CancelProcessInstanceRequest.Parser)); [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Marshaller __Marshaller_gateway_protocol_CancelProcessInstanceResponse = grpc::Marshallers.Create(__Helper_SerializeMessage, context => __Helper_DeserializeMessage(context, global::GatewayProtocol.CancelProcessInstanceResponse.Parser)); @@ -126,6 +130,14 @@ static T __Helper_DeserializeMessage(grpc::DeserializationContext context, gl __Marshaller_gateway_protocol_ActivateJobsRequest, __Marshaller_gateway_protocol_ActivateJobsResponse); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + static readonly grpc::Method __Method_StreamActivatedJobs = new grpc::Method( + grpc::MethodType.ServerStreaming, + __ServiceName, + "StreamActivatedJobs", + __Marshaller_gateway_protocol_StreamActivatedJobsRequest, + __Marshaller_gateway_protocol_ActivatedJob); + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] static readonly grpc::Method __Method_CancelProcessInstance = new grpc::Method( grpc::MethodType.Unary, @@ -294,6 +306,26 @@ public abstract partial class GatewayBase throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } + /// + /// + ///Registers client to a job stream that will stream jobs back to the client as + ///they become activatable. + /// + ///Errors: + ///INVALID_ARGUMENT: + ///- type is blank (empty string, null) + ///- timeout less than 1 + /// + /// The request received from the client. + /// Used for sending responses back to the client. + /// The context of the server-side call handler being invoked. + /// A task indicating completion of the handler. + [global::System.CodeDom.Compiler.GeneratedCode("grpc_csharp_plugin", null)] + public virtual global::System.Threading.Tasks.Task StreamActivatedJobs(global::GatewayProtocol.StreamActivatedJobsRequest request, grpc::IServerStreamWriter responseStream, grpc::ServerCallContext context) + { + throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); + } + /// /// ///Cancels a running process instance @@ -426,11 +458,17 @@ public abstract partial class GatewayBase ///Note that this is an atomic call, i.e. either all resources are deployed, or none of them are. /// ///Errors: + ///PERMISSION_DENIED: + ///- if a deployment to an unauthorized tenant is performed ///INVALID_ARGUMENT: ///- no resources given. ///- if at least one resource is invalid. A resource is considered invalid if: ///- the content is not deserializable (e.g. detected as BPMN, but it's broken XML) ///- the content is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task) + ///- if multi-tenancy is enabled, and: + ///- a tenant id is not provided + ///- a tenant id with an invalid format is provided + ///- if multi-tenancy is disabled and a tenant id is provided /// /// The request received from the client. /// The context of the server-side call handler being invoked. @@ -718,6 +756,44 @@ protected GatewayClient(ClientBaseConfiguration configuration) : base(configurat } /// /// + ///Registers client to a job stream that will stream jobs back to the client as + ///they become activatable. + /// + ///Errors: + ///INVALID_ARGUMENT: + ///- type is blank (empty string, null) + ///- timeout less than 1 + /// + /// 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::AsyncServerStreamingCall StreamActivatedJobs(global::GatewayProtocol.StreamActivatedJobsRequest request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + { + return StreamActivatedJobs(request, new grpc::CallOptions(headers, deadline, cancellationToken)); + } + /// + /// + ///Registers client to a job stream that will stream jobs back to the client as + ///they become activatable. + /// + ///Errors: + ///INVALID_ARGUMENT: + ///- type is blank (empty string, null) + ///- timeout less than 1 + /// + /// 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::AsyncServerStreamingCall StreamActivatedJobs(global::GatewayProtocol.StreamActivatedJobsRequest request, grpc::CallOptions options) + { + return CallInvoker.AsyncServerStreamingCall(__Method_StreamActivatedJobs, null, options, request); + } + /// + /// ///Cancels a running process instance /// ///Errors: @@ -1226,11 +1302,17 @@ protected GatewayClient(ClientBaseConfiguration configuration) : base(configurat ///Note that this is an atomic call, i.e. either all resources are deployed, or none of them are. /// ///Errors: + ///PERMISSION_DENIED: + ///- if a deployment to an unauthorized tenant is performed ///INVALID_ARGUMENT: ///- no resources given. ///- if at least one resource is invalid. A resource is considered invalid if: ///- the content is not deserializable (e.g. detected as BPMN, but it's broken XML) ///- the content is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task) + ///- if multi-tenancy is enabled, and: + ///- a tenant id is not provided + ///- a tenant id with an invalid format is provided + ///- if multi-tenancy is disabled and a tenant id is provided /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1248,11 +1330,17 @@ protected GatewayClient(ClientBaseConfiguration configuration) : base(configurat ///Note that this is an atomic call, i.e. either all resources are deployed, or none of them are. /// ///Errors: + ///PERMISSION_DENIED: + ///- if a deployment to an unauthorized tenant is performed ///INVALID_ARGUMENT: ///- no resources given. ///- if at least one resource is invalid. A resource is considered invalid if: ///- the content is not deserializable (e.g. detected as BPMN, but it's broken XML) ///- the content is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task) + ///- if multi-tenancy is enabled, and: + ///- a tenant id is not provided + ///- a tenant id with an invalid format is provided + ///- if multi-tenancy is disabled and a tenant id is provided /// /// The request to send to the server. /// The options for the call. @@ -1268,11 +1356,17 @@ protected GatewayClient(ClientBaseConfiguration configuration) : base(configurat ///Note that this is an atomic call, i.e. either all resources are deployed, or none of them are. /// ///Errors: + ///PERMISSION_DENIED: + ///- if a deployment to an unauthorized tenant is performed ///INVALID_ARGUMENT: ///- no resources given. ///- if at least one resource is invalid. A resource is considered invalid if: ///- the content is not deserializable (e.g. detected as BPMN, but it's broken XML) ///- the content is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task) + ///- if multi-tenancy is enabled, and: + ///- a tenant id is not provided + ///- a tenant id with an invalid format is provided + ///- if multi-tenancy is disabled and a tenant id is provided /// /// The request to send to the server. /// The initial metadata to send with the call. This parameter is optional. @@ -1290,11 +1384,17 @@ protected GatewayClient(ClientBaseConfiguration configuration) : base(configurat ///Note that this is an atomic call, i.e. either all resources are deployed, or none of them are. /// ///Errors: + ///PERMISSION_DENIED: + ///- if a deployment to an unauthorized tenant is performed ///INVALID_ARGUMENT: ///- no resources given. ///- if at least one resource is invalid. A resource is considered invalid if: ///- the content is not deserializable (e.g. detected as BPMN, but it's broken XML) ///- the content is invalid (e.g. an event-based gateway has an outgoing sequence flow to a task) + ///- if multi-tenancy is enabled, and: + ///- a tenant id is not provided + ///- a tenant id with an invalid format is provided + ///- if multi-tenancy is disabled and a tenant id is provided /// /// The request to send to the server. /// The options for the call. @@ -2135,6 +2235,7 @@ protected override GatewayClient NewInstance(ClientBaseConfiguration configurati { return grpc::ServerServiceDefinition.CreateBuilder() .AddMethod(__Method_ActivateJobs, serviceImpl.ActivateJobs) + .AddMethod(__Method_StreamActivatedJobs, serviceImpl.StreamActivatedJobs) .AddMethod(__Method_CancelProcessInstance, serviceImpl.CancelProcessInstance) .AddMethod(__Method_CompleteJob, serviceImpl.CompleteJob) .AddMethod(__Method_CreateProcessInstance, serviceImpl.CreateProcessInstance) @@ -2162,6 +2263,7 @@ protected override GatewayClient NewInstance(ClientBaseConfiguration configurati public static void BindService(grpc::ServiceBinderBase serviceBinder, GatewayBase serviceImpl) { serviceBinder.AddMethod(__Method_ActivateJobs, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.ActivateJobs)); + serviceBinder.AddMethod(__Method_StreamActivatedJobs, serviceImpl == null ? null : new grpc::ServerStreamingServerMethod(serviceImpl.StreamActivatedJobs)); serviceBinder.AddMethod(__Method_CancelProcessInstance, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CancelProcessInstance)); serviceBinder.AddMethod(__Method_CompleteJob, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CompleteJob)); serviceBinder.AddMethod(__Method_CreateProcessInstance, serviceImpl == null ? null : new grpc::UnaryServerMethod(serviceImpl.CreateProcessInstance)); diff --git a/Doxyfile b/Doxyfile index e5fe391f..a8c791bb 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = "Zeebe C# Client" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 2.2.0 +PROJECT_NUMBER = 2.3.0 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/docs/annotated.html b/docs/annotated.html index 3fe5e9cf..c0bd25b5 100644 --- a/docs/annotated.html +++ b/docs/annotated.html @@ -26,7 +26,7 @@ - Zeebe C# Client 2.2.0 + Zeebe C# Client 2.3.0 C# Client to communicate with an Zeebe Gateway @@ -192,7 +192,7 @@ - Generated on Fri Sep 8 2023 09:27:05 for Zeebe C# Client by 1.9.5 + Generated on Sun Oct 15 2023 12:48:11 for Zeebe C# Client by 1.9.5