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

import { Signal, SignalGetOrCreateRequest, SignalList, SignalListRequest, SignalSetRequest, SignalSetResponse } from "../admin/signal_pb.js";
import { MethodKind } from "@bufbuild/protobuf";

/**
 * SignalService defines an RPC Service that may create, update, and retrieve signal(s).
 *
 * @generated from service flyteidl.service.SignalService
 */
export const SignalService = {
  typeName: "flyteidl.service.SignalService",
  methods: {
    /**
     * Fetches or creates a :ref:`ref_flyteidl.admin.Signal`.
     *
     * @generated from rpc flyteidl.service.SignalService.GetOrCreateSignal
     */
    getOrCreateSignal: {
      name: "GetOrCreateSignal",
      I: SignalGetOrCreateRequest,
      O: Signal,
      kind: MethodKind.Unary,
    },
    /**
     * Fetch a list of :ref:`ref_flyteidl.admin.Signal` definitions.
     *
     * @generated from rpc flyteidl.service.SignalService.ListSignals
     */
    listSignals: {
      name: "ListSignals",
      I: SignalListRequest,
      O: SignalList,
      kind: MethodKind.Unary,
    },
    /**
     * Sets the value on a :ref:`ref_flyteidl.admin.Signal` definition
     *
     * @generated from rpc flyteidl.service.SignalService.SetSignal
     */
    setSignal: {
      name: "SetSignal",
      I: SignalSetRequest,
      O: SignalSetResponse,
      kind: MethodKind.Unary,
    },
  }
} as const;

