// package: akkaserverless.protocol // file: akkaserverless/protocol/discovery.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; import * as akkaserverless_protocol_discovery_pb from "../../akkaserverless/protocol/discovery_pb"; import * as google_protobuf_descriptor_pb from "google-protobuf/google/protobuf/descriptor_pb"; import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb"; interface IDiscoveryService extends grpc.ServiceDefinition { discover: IDiscoveryService_IDiscover; reportError: IDiscoveryService_IReportError; proxyTerminated: IDiscoveryService_IProxyTerminated; healthCheck: IDiscoveryService_IHealthCheck; } interface IDiscoveryService_IDiscover extends grpc.MethodDefinition { path: "/akkaserverless.protocol.Discovery/Discover"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IDiscoveryService_IReportError extends grpc.MethodDefinition { path: "/akkaserverless.protocol.Discovery/ReportError"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IDiscoveryService_IProxyTerminated extends grpc.MethodDefinition { path: "/akkaserverless.protocol.Discovery/ProxyTerminated"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IDiscoveryService_IHealthCheck extends grpc.MethodDefinition { path: "/akkaserverless.protocol.Discovery/HealthCheck"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const DiscoveryService: IDiscoveryService; export interface IDiscoveryServer extends grpc.UntypedServiceImplementation { discover: grpc.handleUnaryCall; reportError: grpc.handleUnaryCall; proxyTerminated: grpc.handleUnaryCall; healthCheck: grpc.handleUnaryCall; } export interface IDiscoveryClient { discover(request: akkaserverless_protocol_discovery_pb.ProxyInfo, callback: (error: grpc.ServiceError | null, response: akkaserverless_protocol_discovery_pb.Spec) => void): grpc.ClientUnaryCall; discover(request: akkaserverless_protocol_discovery_pb.ProxyInfo, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: akkaserverless_protocol_discovery_pb.Spec) => void): grpc.ClientUnaryCall; discover(request: akkaserverless_protocol_discovery_pb.ProxyInfo, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: akkaserverless_protocol_discovery_pb.Spec) => void): grpc.ClientUnaryCall; reportError(request: akkaserverless_protocol_discovery_pb.UserFunctionError, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; reportError(request: akkaserverless_protocol_discovery_pb.UserFunctionError, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; reportError(request: akkaserverless_protocol_discovery_pb.UserFunctionError, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; proxyTerminated(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; proxyTerminated(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; proxyTerminated(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; healthCheck(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; healthCheck(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; healthCheck(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; } export class DiscoveryClient extends grpc.Client implements IDiscoveryClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public discover(request: akkaserverless_protocol_discovery_pb.ProxyInfo, callback: (error: grpc.ServiceError | null, response: akkaserverless_protocol_discovery_pb.Spec) => void): grpc.ClientUnaryCall; public discover(request: akkaserverless_protocol_discovery_pb.ProxyInfo, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: akkaserverless_protocol_discovery_pb.Spec) => void): grpc.ClientUnaryCall; public discover(request: akkaserverless_protocol_discovery_pb.ProxyInfo, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: akkaserverless_protocol_discovery_pb.Spec) => void): grpc.ClientUnaryCall; public reportError(request: akkaserverless_protocol_discovery_pb.UserFunctionError, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public reportError(request: akkaserverless_protocol_discovery_pb.UserFunctionError, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public reportError(request: akkaserverless_protocol_discovery_pb.UserFunctionError, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public proxyTerminated(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public proxyTerminated(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public proxyTerminated(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public healthCheck(request: google_protobuf_empty_pb.Empty, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public healthCheck(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; public healthCheck(request: google_protobuf_empty_pb.Empty, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_empty_pb.Empty) => void): grpc.ClientUnaryCall; }