// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "proj.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ProjectService } from "./proj"; import type { IsProjectExistResult } from "./proj"; import type { IsProjectExistRequest } from "./proj"; import type { CleanDeletedProjectsResult } from "./proj"; import type { CleanDeletedProjectsRequest } from "./proj"; import type { DeleteProjectInDBResult } from "./proj"; import type { DeleteProjectInDBRequest } from "./proj"; import type { GetMyContextResult } from "./proj"; import type { GetMyContextRequest } from "./proj"; import type { SuggestProjectIDResult } from "./proj"; import type { SuggestProjectIDRequest } from "./proj"; import type { DeleteProjectResult } from "./proj"; import type { DeleteProjectRequest } from "./proj"; import type { UpdateProjectStatusResult } from "./proj"; import type { UpdateProjectStatusRequest } from "./proj"; import type { UpdateProjectResult } from "./proj"; import type { UpdateProjectRequest } from "./proj"; import type { SetModulesProjectResult } from "./proj"; import type { SetModulesProjectRequest } from "./proj"; import type { CreateProjectResult } from "./proj"; import type { CreateProjectRequest } from "./proj"; import type { ListAllProjectResult } from "./proj"; import type { ListAllProjectRequest } from "./proj"; import type { ListProjectResult } from "./proj"; import type { ListProjectRequest } from "./proj"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetProjectResult } from "./proj"; import type { GetProjectRequest } from "./proj"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.ProjectService */ export interface IProjectServiceClient { /** * @generated from protobuf rpc: Get */ get(input: GetProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListAll */ listAll(input: ListAllProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Create */ create(input: CreateProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetModules */ setModules(input: SetModulesProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Update */ update(input: UpdateProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateStatus */ updateStatus(input: UpdateProjectStatusRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SuggestID */ suggestID(input: SuggestProjectIDRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetMyUIContext */ getMyUIContext(input: GetMyContextRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetMyContext */ getMyContext(input: GetMyContextRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteProjectInDB */ deleteProjectInDB(input: DeleteProjectInDBRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CleanDeletedProjects */ cleanDeletedProjects(input: CleanDeletedProjectsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: IsProjectExist */ isProjectExist(input: IsProjectExistRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.ProjectService */ export class ProjectServiceClient implements IProjectServiceClient, ServiceInfo { typeName = ProjectService.typeName; methods = ProjectService.methods; options = ProjectService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Get */ get(input: GetProjectRequest, 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: List */ list(input: ListProjectRequest, 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: ListAll */ listAll(input: ListAllProjectRequest, 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: Create */ create(input: CreateProjectRequest, 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: SetModules */ setModules(input: SetModulesProjectRequest, 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: Update */ update(input: UpdateProjectRequest, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: UpdateStatus */ updateStatus(input: UpdateProjectStatusRequest, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Delete */ delete(input: DeleteProjectRequest, options?: RpcOptions): UnaryCall { const method = this.methods[7], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: SuggestID */ suggestID(input: SuggestProjectIDRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetMyUIContext */ getMyUIContext(input: GetMyContextRequest, options?: RpcOptions): UnaryCall { const method = this.methods[9], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetMyContext */ getMyContext(input: GetMyContextRequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeleteProjectInDB */ deleteProjectInDB(input: DeleteProjectInDBRequest, options?: RpcOptions): UnaryCall { const method = this.methods[11], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CleanDeletedProjects */ cleanDeletedProjects(input: CleanDeletedProjectsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[12], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: IsProjectExist */ isProjectExist(input: IsProjectExistRequest, options?: RpcOptions): UnaryCall { const method = this.methods[13], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }