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

require 'grpc'
require 'workflows/workflows_pb'

module WorkflowService
  # WorkflowService represents a set of RPCs for managing workflows.
  class Service

    include ::GRPC::GenericService

    self.marshal_class_method = :encode
    self.unmarshal_class_method = :decode
    self.service_name = 'WorkflowService'

    rpc :PutWorkflow, ::PutWorkflowRequest, ::WorkflowVersion
    rpc :ScheduleWorkflow, ::ScheduleWorkflowRequest, ::WorkflowVersion
    rpc :TriggerWorkflow, ::V1::TriggerWorkflowRequest, ::TriggerWorkflowResponse
    rpc :BulkTriggerWorkflow, ::BulkTriggerWorkflowRequest, ::BulkTriggerWorkflowResponse
    rpc :PutRateLimit, ::PutRateLimitRequest, ::PutRateLimitResponse
  end

  Stub = Service.rpc_stub_class
end
