// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "logger.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { LoggerService } from "./logger"; import type { PlatformLogByMatchResult } from "./logger"; import type { PlatformLogByMatchRequest } from "./logger"; import type { PlatformLogFindResult } from "./logger"; import type { PlatformLogFindRequest } from "./logger"; import type { PlatformLogGetByIdsResult } from "./logger"; import type { PlatformLogGetByIdsRequest } from "./logger"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { PlatformLogCreateResponse } from "./logger"; import type { PlatformLogCreateRequest } from "./logger"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.LoggerService */ export interface ILoggerServiceClient { /** * @generated from protobuf rpc: Create */ create(input: PlatformLogCreateRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetByIds */ getByIds(input: PlatformLogGetByIdsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Find */ find(input: PlatformLogFindRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindMatchingFieldValues */ findMatchingFieldValues(input: PlatformLogByMatchRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.LoggerService */ export class LoggerServiceClient implements ILoggerServiceClient, ServiceInfo { typeName = LoggerService.typeName; methods = LoggerService.methods; options = LoggerService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Create */ create(input: PlatformLogCreateRequest, 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: GetByIds */ getByIds(input: PlatformLogGetByIdsRequest, 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: Find */ find(input: PlatformLogFindRequest, 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: FindMatchingFieldValues */ findMatchingFieldValues(input: PlatformLogByMatchRequest, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }