lib/zeebe/client/proto/gateway_pb.rb in zeebe-client-0.6.0 vs lib/zeebe/client/proto/gateway_pb.rb in zeebe-client-0.7.0
- old
+ new
@@ -16,25 +16,22 @@
repeated :jobs, :message, 1, "gateway_protocol.ActivatedJob"
end
add_message "gateway_protocol.ActivatedJob" do
optional :key, :int64, 1
optional :type, :string, 2
- optional :jobHeaders, :message, 3, "gateway_protocol.JobHeaders"
- optional :customHeaders, :string, 4
- optional :worker, :string, 5
- optional :retries, :int32, 6
- optional :deadline, :int64, 7
- optional :variables, :string, 8
+ optional :workflowInstanceKey, :int64, 3
+ optional :bpmnProcessId, :string, 4
+ optional :workflowDefinitionVersion, :int32, 5
+ optional :workflowKey, :int64, 6
+ optional :elementId, :string, 7
+ optional :elementInstanceKey, :int64, 8
+ optional :customHeaders, :string, 9
+ optional :worker, :string, 10
+ optional :retries, :int32, 11
+ optional :deadline, :int64, 12
+ optional :variables, :string, 13
end
- add_message "gateway_protocol.JobHeaders" do
- optional :workflowInstanceKey, :int64, 1
- optional :bpmnProcessId, :string, 2
- optional :workflowDefinitionVersion, :int32, 3
- optional :workflowKey, :int64, 4
- optional :elementId, :string, 5
- optional :elementInstanceKey, :int64, 6
- end
add_message "gateway_protocol.CancelWorkflowInstanceRequest" do
optional :workflowInstanceKey, :int64, 1
end
add_message "gateway_protocol.CancelWorkflowInstanceResponse" do
end
@@ -52,11 +49,11 @@
end
add_message "gateway_protocol.CreateWorkflowInstanceResponse" do
optional :workflowKey, :int64, 1
optional :bpmnProcessId, :string, 2
optional :version, :int32, 3
- optional :workflowInstanceKey, :int64, 5
+ optional :workflowInstanceKey, :int64, 4
end
add_message "gateway_protocol.DeployWorkflowRequest" do
repeated :workflows, :message, 1, "gateway_protocol.WorkflowRequestObject"
end
add_message "gateway_protocol.WorkflowRequestObject" do
@@ -114,11 +111,11 @@
optional :port, :int32, 3
repeated :partitions, :message, 4, "gateway_protocol.Partition"
end
add_message "gateway_protocol.Partition" do
optional :partitionId, :int32, 1
- optional :role, :enum, 3, "gateway_protocol.Partition.PartitionBrokerRole"
+ optional :role, :enum, 2, "gateway_protocol.Partition.PartitionBrokerRole"
end
add_enum "gateway_protocol.Partition.PartitionBrokerRole" do
value :LEADER, 0
value :FOLLOWER, 1
end
@@ -140,10 +137,9 @@
module Zeebe::Client::GatewayProtocol
ActivateJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivateJobsRequest").msgclass
ActivateJobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivateJobsResponse").msgclass
ActivatedJob = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.ActivatedJob").msgclass
- JobHeaders = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.JobHeaders").msgclass
CancelWorkflowInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CancelWorkflowInstanceRequest").msgclass
CancelWorkflowInstanceResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CancelWorkflowInstanceResponse").msgclass
CompleteJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CompleteJobRequest").msgclass
CompleteJobResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CompleteJobResponse").msgclass
CreateWorkflowInstanceRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("gateway_protocol.CreateWorkflowInstanceRequest").msgclass