// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts"
// @generated from file process/process.proto (package process, syntax proto3)
/* eslint-disable */
// @ts-nocheck

import {
  CloseStdinRequest,
  CloseStdinResponse,
  ConnectRequest,
  ConnectResponse,
  ListRequest,
  ListResponse,
  SendInputRequest,
  SendInputResponse,
  SendSignalRequest,
  SendSignalResponse,
  StartRequest,
  StartResponse,
  StreamInputRequest,
  StreamInputResponse,
  UpdateRequest,
  UpdateResponse,
} from './process_pb.js'
import { MethodKind } from '@bufbuild/protobuf'

/**
 * @generated from service process.Process
 */
export const Process = {
  typeName: 'process.Process',
  methods: {
    /**
     * @generated from rpc process.Process.List
     */
    list: {
      name: 'List',
      I: ListRequest,
      O: ListResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc process.Process.Connect
     */
    connect: {
      name: 'Connect',
      I: ConnectRequest,
      O: ConnectResponse,
      kind: MethodKind.ServerStreaming,
    },
    /**
     * @generated from rpc process.Process.Start
     */
    start: {
      name: 'Start',
      I: StartRequest,
      O: StartResponse,
      kind: MethodKind.ServerStreaming,
    },
    /**
     * @generated from rpc process.Process.Update
     */
    update: {
      name: 'Update',
      I: UpdateRequest,
      O: UpdateResponse,
      kind: MethodKind.Unary,
    },
    /**
     * Client input stream ensures ordering of messages
     *
     * @generated from rpc process.Process.StreamInput
     */
    streamInput: {
      name: 'StreamInput',
      I: StreamInputRequest,
      O: StreamInputResponse,
      kind: MethodKind.ClientStreaming,
    },
    /**
     * @generated from rpc process.Process.SendInput
     */
    sendInput: {
      name: 'SendInput',
      I: SendInputRequest,
      O: SendInputResponse,
      kind: MethodKind.Unary,
    },
    /**
     * @generated from rpc process.Process.SendSignal
     */
    sendSignal: {
      name: 'SendSignal',
      I: SendSignalRequest,
      O: SendSignalResponse,
      kind: MethodKind.Unary,
    },
    /**
     * Close stdin to signal EOF to the process.
     * Only works for non-PTY processes. For PTY, send Ctrl+D (0x04) instead.
     *
     * @generated from rpc process.Process.CloseStdin
     */
    closeStdin: {
      name: 'CloseStdin',
      I: CloseStdinRequest,
      O: CloseStdinResponse,
      kind: MethodKind.Unary,
    },
  },
} as const
