// package: // file: language-agent/JVMMetricCompat.proto /* tslint:disable */ /* eslint-disable */ import * as grpc from "@grpc/grpc-js"; import * as language_agent_JVMMetricCompat_pb from "../language-agent/JVMMetricCompat_pb"; import * as common_Common_pb from "../common/Common_pb"; import * as language_agent_JVMMetric_pb from "../language-agent/JVMMetric_pb"; interface IJVMMetricReportServiceService extends grpc.ServiceDefinition { collect: IJVMMetricReportServiceService_Icollect; } interface IJVMMetricReportServiceService_Icollect extends grpc.MethodDefinition { path: "/JVMMetricReportService/collect"; requestStream: false; responseStream: false; requestSerialize: grpc.serialize; requestDeserialize: grpc.deserialize; responseSerialize: grpc.serialize; responseDeserialize: grpc.deserialize; } export const JVMMetricReportServiceService: IJVMMetricReportServiceService; export interface IJVMMetricReportServiceServer extends grpc.UntypedServiceImplementation { collect: grpc.handleUnaryCall; } export interface IJVMMetricReportServiceClient { collect(request: language_agent_JVMMetric_pb.JVMMetricCollection, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; collect(request: language_agent_JVMMetric_pb.JVMMetricCollection, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; collect(request: language_agent_JVMMetric_pb.JVMMetricCollection, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; } export class JVMMetricReportServiceClient extends grpc.Client implements IJVMMetricReportServiceClient { constructor(address: string, credentials: grpc.ChannelCredentials, options?: Partial); public collect(request: language_agent_JVMMetric_pb.JVMMetricCollection, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; public collect(request: language_agent_JVMMetric_pb.JVMMetricCollection, metadata: grpc.Metadata, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; public collect(request: language_agent_JVMMetric_pb.JVMMetricCollection, metadata: grpc.Metadata, options: Partial, callback: (error: grpc.ServiceError | null, response: common_Common_pb.Commands) => void): grpc.ClientUnaryCall; }