// package: com.example // file: example.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; import * as example_pb from "./example_pb"; import * as google_protobuf_any_pb from "google-protobuf/google/protobuf/any_pb"; import * as akkaserverless_annotations_pb from "./akkaserverless/annotations_pb"; interface IExampleServiceService extends grpc.ServiceDefinition { doSomething: IExampleServiceService_IDoSomething; streamSomething: IExampleServiceService_IStreamSomething; publishJsonToTopic: IExampleServiceService_IPublishJsonToTopic; fail: IExampleServiceService_IFail; } interface IExampleServiceService_IDoSomething extends grpc.MethodDefinition { path: "/com.example.ExampleService/DoSomething"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IExampleServiceService_IStreamSomething extends grpc.MethodDefinition { path: "/com.example.ExampleService/StreamSomething"; requestStream: false; responseStream: true; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IExampleServiceService_IPublishJsonToTopic extends grpc.MethodDefinition { path: "/com.example.ExampleService/PublishJsonToTopic"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IExampleServiceService_IFail extends grpc.MethodDefinition { path: "/com.example.ExampleService/Fail"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const ExampleServiceService: IExampleServiceService; export interface IExampleServiceServer extends grpc.UntypedServiceImplementation { doSomething: grpc.handleUnaryCall; streamSomething: grpc.handleServerStreamingCall; publishJsonToTopic: grpc.handleUnaryCall; fail: grpc.handleUnaryCall; } export interface IExampleServiceClient { doSomething(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomething(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomething(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; streamSomething(request: example_pb.In, options?: Partial): grpc.ClientReadableStream; streamSomething(request: example_pb.In, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; publishJsonToTopic(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: google_protobuf_any_pb.Any) => void): grpc.ClientUnaryCall; publishJsonToTopic(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_any_pb.Any) => void): grpc.ClientUnaryCall; publishJsonToTopic(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_any_pb.Any) => void): grpc.ClientUnaryCall; fail(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; fail(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; fail(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; } export class ExampleServiceClient extends grpc.Client implements IExampleServiceClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public doSomething(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomething(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomething(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public streamSomething(request: example_pb.In, options?: Partial): grpc.ClientReadableStream; public streamSomething(request: example_pb.In, metadata?: grpc.Metadata, options?: Partial): grpc.ClientReadableStream; public publishJsonToTopic(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: google_protobuf_any_pb.Any) => void): grpc.ClientUnaryCall; public publishJsonToTopic(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: google_protobuf_any_pb.Any) => void): grpc.ClientUnaryCall; public publishJsonToTopic(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: google_protobuf_any_pb.Any) => void): grpc.ClientUnaryCall; public fail(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public fail(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public fail(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; } interface IExampleServiceTwoService extends grpc.ServiceDefinition { doSomethingOne: IExampleServiceTwoService_IDoSomethingOne; doSomethingTwo: IExampleServiceTwoService_IDoSomethingTwo; fail: IExampleServiceTwoService_IFail; } interface IExampleServiceTwoService_IDoSomethingOne extends grpc.MethodDefinition { path: "/com.example.ExampleServiceTwo/DoSomethingOne"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IExampleServiceTwoService_IDoSomethingTwo extends grpc.MethodDefinition { path: "/com.example.ExampleServiceTwo/DoSomethingTwo"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IExampleServiceTwoService_IFail extends grpc.MethodDefinition { path: "/com.example.ExampleServiceTwo/Fail"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const ExampleServiceTwoService: IExampleServiceTwoService; export interface IExampleServiceTwoServer extends grpc.UntypedServiceImplementation { doSomethingOne: grpc.handleUnaryCall; doSomethingTwo: grpc.handleUnaryCall; fail: grpc.handleUnaryCall; } export interface IExampleServiceTwoClient { doSomethingOne(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomethingOne(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomethingOne(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomethingTwo(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomethingTwo(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomethingTwo(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; fail(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; fail(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; fail(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; } export class ExampleServiceTwoClient extends grpc.Client implements IExampleServiceTwoClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public doSomethingOne(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomethingOne(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomethingOne(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomethingTwo(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomethingTwo(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomethingTwo(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public fail(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public fail(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public fail(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; } interface IExampleServiceThreeService extends grpc.ServiceDefinition { doSomethingOne: IExampleServiceThreeService_IDoSomethingOne; doSomethingTwo: IExampleServiceThreeService_IDoSomethingTwo; fail: IExampleServiceThreeService_IFail; } interface IExampleServiceThreeService_IDoSomethingOne extends grpc.MethodDefinition { path: "/com.example.ExampleServiceThree/DoSomethingOne"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IExampleServiceThreeService_IDoSomethingTwo extends grpc.MethodDefinition { path: "/com.example.ExampleServiceThree/DoSomethingTwo"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IExampleServiceThreeService_IFail extends grpc.MethodDefinition { path: "/com.example.ExampleServiceThree/Fail"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const ExampleServiceThreeService: IExampleServiceThreeService; export interface IExampleServiceThreeServer extends grpc.UntypedServiceImplementation { doSomethingOne: grpc.handleUnaryCall; doSomethingTwo: grpc.handleUnaryCall; fail: grpc.handleUnaryCall; } export interface IExampleServiceThreeClient { doSomethingOne(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomethingOne(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomethingOne(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomethingTwo(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomethingTwo(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; doSomethingTwo(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; fail(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; fail(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; fail(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; } export class ExampleServiceThreeClient extends grpc.Client implements IExampleServiceThreeClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public doSomethingOne(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomethingOne(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomethingOne(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomethingTwo(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomethingTwo(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public doSomethingTwo(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public fail(request: example_pb.In, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public fail(request: example_pb.In, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; public fail(request: example_pb.In, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: example_pb.Out) => void): grpc.ClientUnaryCall; }