// package: // file: profile/ProfileCompat.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; import * as profile_ProfileCompat_pb from "../profile/ProfileCompat_pb"; import * as common_Common_pb from "../common/Common_pb"; import * as profile_Profile_pb from "../profile/Profile_pb"; interface IProfileTaskService extends grpc.ServiceDefinition { getProfileTaskCommands: IProfileTaskService_IgetProfileTaskCommands; collectSnapshot: IProfileTaskService_IcollectSnapshot; reportTaskFinish: IProfileTaskService_IreportTaskFinish; } interface IProfileTaskService_IgetProfileTaskCommands extends grpc.MethodDefinition { path: "/ProfileTask/getProfileTaskCommands"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IProfileTaskService_IcollectSnapshot extends grpc.MethodDefinition { path: "/ProfileTask/collectSnapshot"; requestStream: true; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IProfileTaskService_IreportTaskFinish extends grpc.MethodDefinition { path: "/ProfileTask/reportTaskFinish"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const ProfileTaskService: IProfileTaskService; export interface IProfileTaskServer extends grpc.UntypedServiceImplementation { getProfileTaskCommands: grpc.handleUnaryCall; collectSnapshot: grpc.handleClientStreamingCall; reportTaskFinish: grpc.handleUnaryCall; } export interface IProfileTaskClient { getProfileTaskCommands(request: profile_Profile_pb.ProfileTaskCommandQuery, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; getProfileTaskCommands(request: profile_Profile_pb.ProfileTaskCommandQuery, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; getProfileTaskCommands(request: profile_Profile_pb.ProfileTaskCommandQuery, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; collectSnapshot(callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; collectSnapshot(metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; collectSnapshot(options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; collectSnapshot(metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; reportTaskFinish(request: profile_Profile_pb.ProfileTaskFinishReport, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; reportTaskFinish(request: profile_Profile_pb.ProfileTaskFinishReport, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; reportTaskFinish(request: profile_Profile_pb.ProfileTaskFinishReport, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; } export class ProfileTaskClient extends grpc.Client implements IProfileTaskClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public getProfileTaskCommands(request: profile_Profile_pb.ProfileTaskCommandQuery, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; public getProfileTaskCommands(request: profile_Profile_pb.ProfileTaskCommandQuery, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; public getProfileTaskCommands(request: profile_Profile_pb.ProfileTaskCommandQuery, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; public collectSnapshot(callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public collectSnapshot(metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public collectSnapshot(options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public collectSnapshot(metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public reportTaskFinish(request: profile_Profile_pb.ProfileTaskFinishReport, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; public reportTaskFinish(request: profile_Profile_pb.ProfileTaskFinishReport, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; public reportTaskFinish(request: profile_Profile_pb.ProfileTaskFinishReport, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; }