// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "project-lifecycle.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ProjectLifecycleService } from "./project-lifecycle"; import type { SetTaskNextRunAtResponse } from "./project-lifecycle"; import type { SetTaskNextRunAtRequest } from "./project-lifecycle"; import type { SetTaskExecutedAtResponse } from "./project-lifecycle"; import type { SetTaskExecutedAtRequest } from "./project-lifecycle"; import type { SetTaskStatusResponse } from "./project-lifecycle"; import type { SetTaskStatusRequest } from "./project-lifecycle"; import type { ListTasksResponse } from "./project-lifecycle"; import type { ListTasksRequest } from "./project-lifecycle"; import type { GetTaskResponse } from "./project-lifecycle"; import type { GetTaskRequest } from "./project-lifecycle"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { SetTaskRuleResponse } from "./project-lifecycle"; import type { SetTaskRuleRequest } from "./project-lifecycle"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.ProjectLifecycleService */ export interface IProjectLifecycleServiceClient { /** * @generated from protobuf rpc: SetTaskRule */ setTaskRule(input: SetTaskRuleRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetTask */ getTask(input: GetTaskRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListTasks */ listTasks(input: ListTasksRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetTaskStatus */ setTaskStatus(input: SetTaskStatusRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetTaskExecutedAt */ setTaskExecutedAt(input: SetTaskExecutedAtRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetTaskNextRunAt */ setTaskNextRunAt(input: SetTaskNextRunAtRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.ProjectLifecycleService */ export class ProjectLifecycleServiceClient implements IProjectLifecycleServiceClient, ServiceInfo { typeName = ProjectLifecycleService.typeName; methods = ProjectLifecycleService.methods; options = ProjectLifecycleService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: SetTaskRule */ setTaskRule(input: SetTaskRuleRequest, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetTask */ getTask(input: GetTaskRequest, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListTasks */ listTasks(input: ListTasksRequest, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SetTaskStatus */ setTaskStatus(input: SetTaskStatusRequest, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SetTaskExecutedAt */ setTaskExecutedAt(input: SetTaskExecutedAtRequest, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SetTaskNextRunAt */ setTaskNextRunAt(input: SetTaskNextRunAtRequest, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }