// package: skywalking.v3 // file: language-agent/Meter.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; import * as language_agent_Meter_pb from "../language-agent/Meter_pb"; import * as common_Common_pb from "../common/Common_pb"; interface IMeterReportServiceService extends grpc.ServiceDefinition { collect: IMeterReportServiceService_Icollect; collectBatch: IMeterReportServiceService_IcollectBatch; } interface IMeterReportServiceService_Icollect extends grpc.MethodDefinition { path: "/skywalking.v3.MeterReportService/collect"; requestStream: true; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } interface IMeterReportServiceService_IcollectBatch extends grpc.MethodDefinition { path: "/skywalking.v3.MeterReportService/collectBatch"; requestStream: true; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const MeterReportServiceService: IMeterReportServiceService; export interface IMeterReportServiceServer extends grpc.UntypedServiceImplementation { collect: grpc.handleClientStreamingCall; collectBatch: grpc.handleClientStreamingCall; } export interface IMeterReportServiceClient { 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; collectBatch(callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; collectBatch(metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; collectBatch(options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; collectBatch(metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; } export class MeterReportServiceClient extends grpc.Client implements IMeterReportServiceClient { 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 collectBatch(callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public collectBatch(metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public collectBatch(options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; public collectBatch(metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientWritableStream; }