// package: // file: language-agent/TracingCompat.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; import * as language_agent_TracingCompat_pb from "../language-agent/TracingCompat_pb"; import * as common_Common_pb from "../common/Common_pb"; import * as language_agent_Tracing_pb from "../language-agent/Tracing_pb"; interface ITraceSegmentReportServiceService extends grpc.ServiceDefinition { collect: ITraceSegmentReportServiceService_Icollect; collectInSync: ITraceSegmentReportServiceService_IcollectInSync; } interface ITraceSegmentReportServiceService_Icollect extends grpc.MethodDefinition { path: "/TraceSegmentReportService/collect"; requestStream: true; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface ITraceSegmentReportServiceService_IcollectInSync extends grpc.MethodDefinition { path: "/TraceSegmentReportService/collectInSync"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const TraceSegmentReportServiceService: ITraceSegmentReportServiceService; export interface ITraceSegmentReportServiceServer extends grpc.UntypedServiceImplementation { collect: grpc.handleClientStreamingCall; collectInSync: grpc.handleUnaryCall; } export interface ITraceSegmentReportServiceClient { collect(callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; collect(metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; collect(options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; collect(metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; collectInSync(request: language_agent_Tracing_pb.SegmentCollection, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; collectInSync(request: language_agent_Tracing_pb.SegmentCollection, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; collectInSync(request: language_agent_Tracing_pb.SegmentCollection, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; } export class TraceSegmentReportServiceClient extends grpc.Client implements ITraceSegmentReportServiceClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public collect(callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public collect(metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public collect(options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public collect(metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public collectInSync(request: language_agent_Tracing_pb.SegmentCollection, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; public collectInSync(request: language_agent_Tracing_pb.SegmentCollection, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; public collectInSync(request: language_agent_Tracing_pb.SegmentCollection, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; }