# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: v1/workflows.proto for package 'v1'

require 'grpc'
require 'v1/workflows_pb'

module V1
  module AdminService
    # AdminService represents a set of RPCs for admin management of tasks, workflows, etc.
    class Service

      include ::GRPC::GenericService

      self.marshal_class_method = :encode
      self.unmarshal_class_method = :decode
      self.service_name = 'v1.AdminService'

      rpc :PutWorkflow, ::V1::CreateWorkflowVersionRequest, ::V1::CreateWorkflowVersionResponse
      rpc :CancelTasks, ::V1::CancelTasksRequest, ::V1::CancelTasksResponse
      rpc :ReplayTasks, ::V1::ReplayTasksRequest, ::V1::ReplayTasksResponse
      rpc :TriggerWorkflowRun, ::V1::TriggerWorkflowRunRequest, ::V1::TriggerWorkflowRunResponse
      rpc :GetRunDetails, ::V1::GetRunDetailsRequest, ::V1::GetRunDetailsResponse
      rpc :BranchDurableTask, ::V1::BranchDurableTaskRequest, ::V1::BranchDurableTaskResponse
    end

    Stub = Service.rpc_stub_class
  end
end
