All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.glowroot.wire.api.model.CollectorServiceGrpc Maven / Gradle / Ivy

There is a newer version: 0.9.28
Show newest version
package org.glowroot.wire.api.model;

import static org.glowroot.agent.shaded.grpc.stub.ClientCalls.asyncUnaryCall;
import static org.glowroot.agent.shaded.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static org.glowroot.agent.shaded.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static org.glowroot.agent.shaded.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static org.glowroot.agent.shaded.grpc.stub.ClientCalls.blockingUnaryCall;
import static org.glowroot.agent.shaded.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static org.glowroot.agent.shaded.grpc.stub.ClientCalls.futureUnaryCall;
import static org.glowroot.agent.shaded.grpc.MethodDescriptor.generateFullMethodName;
import static org.glowroot.agent.shaded.grpc.stub.ServerCalls.asyncUnaryCall;
import static org.glowroot.agent.shaded.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static org.glowroot.agent.shaded.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static org.glowroot.agent.shaded.grpc.stub.ServerCalls.asyncBidiStreamingCall;

@javax.annotation.Generated("by gRPC proto compiler")
public class CollectorServiceGrpc {

  private CollectorServiceGrpc() {}

  public static final String SERVICE_NAME = "org_glowroot_wire_api_model.CollectorService";

  // Static method descriptors that strictly reflect the proto.
  @org.glowroot.agent.shaded.grpc.ExperimentalApi
  public static final org.glowroot.agent.shaded.grpc.MethodDescriptor METHOD_HELLO =
      org.glowroot.agent.shaded.grpc.MethodDescriptor.create(
          org.glowroot.agent.shaded.grpc.MethodDescriptor.MethodType.UNARY,
          generateFullMethodName(
              "org_glowroot_wire_api_model.CollectorService", "hello"),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello.getDefaultInstance()),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance()));
  @org.glowroot.agent.shaded.grpc.ExperimentalApi
  public static final org.glowroot.agent.shaded.grpc.MethodDescriptor METHOD_COLLECT_CONFIG =
      org.glowroot.agent.shaded.grpc.MethodDescriptor.create(
          org.glowroot.agent.shaded.grpc.MethodDescriptor.MethodType.UNARY,
          generateFullMethodName(
              "org_glowroot_wire_api_model.CollectorService", "collectConfig"),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage.getDefaultInstance()),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance()));
  @org.glowroot.agent.shaded.grpc.ExperimentalApi
  public static final org.glowroot.agent.shaded.grpc.MethodDescriptor METHOD_COLLECT_JVM_INFO =
      org.glowroot.agent.shaded.grpc.MethodDescriptor.create(
          org.glowroot.agent.shaded.grpc.MethodDescriptor.MethodType.UNARY,
          generateFullMethodName(
              "org_glowroot_wire_api_model.CollectorService", "collectJvmInfo"),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage.getDefaultInstance()),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance()));
  @org.glowroot.agent.shaded.grpc.ExperimentalApi
  public static final org.glowroot.agent.shaded.grpc.MethodDescriptor METHOD_COLLECT_AGGREGATES =
      org.glowroot.agent.shaded.grpc.MethodDescriptor.create(
          org.glowroot.agent.shaded.grpc.MethodDescriptor.MethodType.UNARY,
          generateFullMethodName(
              "org_glowroot_wire_api_model.CollectorService", "collectAggregates"),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage.getDefaultInstance()),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance()));
  @org.glowroot.agent.shaded.grpc.ExperimentalApi
  public static final org.glowroot.agent.shaded.grpc.MethodDescriptor METHOD_COLLECT_GAUGE_VALUES =
      org.glowroot.agent.shaded.grpc.MethodDescriptor.create(
          org.glowroot.agent.shaded.grpc.MethodDescriptor.MethodType.UNARY,
          generateFullMethodName(
              "org_glowroot_wire_api_model.CollectorService", "collectGaugeValues"),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage.getDefaultInstance()),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance()));
  @org.glowroot.agent.shaded.grpc.ExperimentalApi
  public static final org.glowroot.agent.shaded.grpc.MethodDescriptor METHOD_COLLECT_TRACE =
      org.glowroot.agent.shaded.grpc.MethodDescriptor.create(
          org.glowroot.agent.shaded.grpc.MethodDescriptor.MethodType.UNARY,
          generateFullMethodName(
              "org_glowroot_wire_api_model.CollectorService", "collectTrace"),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage.getDefaultInstance()),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance()));
  @org.glowroot.agent.shaded.grpc.ExperimentalApi
  public static final org.glowroot.agent.shaded.grpc.MethodDescriptor METHOD_LOG =
      org.glowroot.agent.shaded.grpc.MethodDescriptor.create(
          org.glowroot.agent.shaded.grpc.MethodDescriptor.MethodType.UNARY,
          generateFullMethodName(
              "org_glowroot_wire_api_model.CollectorService", "log"),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage.getDefaultInstance()),
          org.glowroot.agent.shaded.grpc.protobuf.ProtoUtils.marshaller(org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage.getDefaultInstance()));

  public static CollectorServiceStub newStub(org.glowroot.agent.shaded.grpc.Channel channel) {
    return new CollectorServiceStub(channel);
  }

  public static CollectorServiceBlockingStub newBlockingStub(
      org.glowroot.agent.shaded.grpc.Channel channel) {
    return new CollectorServiceBlockingStub(channel);
  }

  public static CollectorServiceFutureStub newFutureStub(
      org.glowroot.agent.shaded.grpc.Channel channel) {
    return new CollectorServiceFutureStub(channel);
  }

  public static interface CollectorService {

    public void hello(org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver);

    public void collectConfig(org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver);

    public void collectJvmInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver);

    public void collectAggregates(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver);

    public void collectGaugeValues(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver);

    public void collectTrace(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver);

    public void log(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver);
  }

  public static interface CollectorServiceBlockingClient {

    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage hello(org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello request);

    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage collectConfig(org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage request);

    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage collectJvmInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage request);

    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage collectAggregates(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage request);

    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage collectGaugeValues(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage request);

    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage collectTrace(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage request);

    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage log(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage request);
  }

  public static interface CollectorServiceFutureClient {

    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture hello(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello request);

    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture collectConfig(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage request);

    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture collectJvmInfo(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage request);

    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture collectAggregates(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage request);

    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture collectGaugeValues(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage request);

    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture collectTrace(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage request);

    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture log(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage request);
  }

  public static class CollectorServiceStub extends org.glowroot.agent.shaded.grpc.stub.AbstractStub
      implements CollectorService {
    private CollectorServiceStub(org.glowroot.agent.shaded.grpc.Channel channel) {
      super(channel);
    }

    private CollectorServiceStub(org.glowroot.agent.shaded.grpc.Channel channel,
        org.glowroot.agent.shaded.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected CollectorServiceStub build(org.glowroot.agent.shaded.grpc.Channel channel,
        org.glowroot.agent.shaded.grpc.CallOptions callOptions) {
      return new CollectorServiceStub(channel, callOptions);
    }

    @java.lang.Override
    public void hello(org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_HELLO, getCallOptions()), request, responseObserver);
    }

    @java.lang.Override
    public void collectConfig(org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_COLLECT_CONFIG, getCallOptions()), request, responseObserver);
    }

    @java.lang.Override
    public void collectJvmInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_COLLECT_JVM_INFO, getCallOptions()), request, responseObserver);
    }

    @java.lang.Override
    public void collectAggregates(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_COLLECT_AGGREGATES, getCallOptions()), request, responseObserver);
    }

    @java.lang.Override
    public void collectGaugeValues(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_COLLECT_GAUGE_VALUES, getCallOptions()), request, responseObserver);
    }

    @java.lang.Override
    public void collectTrace(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_COLLECT_TRACE, getCallOptions()), request, responseObserver);
    }

    @java.lang.Override
    public void log(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage request,
        org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
      asyncUnaryCall(
          getChannel().newCall(METHOD_LOG, getCallOptions()), request, responseObserver);
    }
  }

  public static class CollectorServiceBlockingStub extends org.glowroot.agent.shaded.grpc.stub.AbstractStub
      implements CollectorServiceBlockingClient {
    private CollectorServiceBlockingStub(org.glowroot.agent.shaded.grpc.Channel channel) {
      super(channel);
    }

    private CollectorServiceBlockingStub(org.glowroot.agent.shaded.grpc.Channel channel,
        org.glowroot.agent.shaded.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected CollectorServiceBlockingStub build(org.glowroot.agent.shaded.grpc.Channel channel,
        org.glowroot.agent.shaded.grpc.CallOptions callOptions) {
      return new CollectorServiceBlockingStub(channel, callOptions);
    }

    @java.lang.Override
    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage hello(org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello request) {
      return blockingUnaryCall(
          getChannel().newCall(METHOD_HELLO, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage collectConfig(org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage request) {
      return blockingUnaryCall(
          getChannel().newCall(METHOD_COLLECT_CONFIG, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage collectJvmInfo(org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage request) {
      return blockingUnaryCall(
          getChannel().newCall(METHOD_COLLECT_JVM_INFO, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage collectAggregates(org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage request) {
      return blockingUnaryCall(
          getChannel().newCall(METHOD_COLLECT_AGGREGATES, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage collectGaugeValues(org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage request) {
      return blockingUnaryCall(
          getChannel().newCall(METHOD_COLLECT_GAUGE_VALUES, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage collectTrace(org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage request) {
      return blockingUnaryCall(
          getChannel().newCall(METHOD_COLLECT_TRACE, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage log(org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage request) {
      return blockingUnaryCall(
          getChannel().newCall(METHOD_LOG, getCallOptions()), request);
    }
  }

  public static class CollectorServiceFutureStub extends org.glowroot.agent.shaded.grpc.stub.AbstractStub
      implements CollectorServiceFutureClient {
    private CollectorServiceFutureStub(org.glowroot.agent.shaded.grpc.Channel channel) {
      super(channel);
    }

    private CollectorServiceFutureStub(org.glowroot.agent.shaded.grpc.Channel channel,
        org.glowroot.agent.shaded.grpc.CallOptions callOptions) {
      super(channel, callOptions);
    }

    @java.lang.Override
    protected CollectorServiceFutureStub build(org.glowroot.agent.shaded.grpc.Channel channel,
        org.glowroot.agent.shaded.grpc.CallOptions callOptions) {
      return new CollectorServiceFutureStub(channel, callOptions);
    }

    @java.lang.Override
    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture hello(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_HELLO, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture collectConfig(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_COLLECT_CONFIG, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture collectJvmInfo(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_COLLECT_JVM_INFO, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture collectAggregates(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_COLLECT_AGGREGATES, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture collectGaugeValues(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_COLLECT_GAUGE_VALUES, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture collectTrace(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_COLLECT_TRACE, getCallOptions()), request);
    }

    @java.lang.Override
    public org.glowroot.agent.shaded.google.common.util.concurrent.ListenableFuture log(
        org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage request) {
      return futureUnaryCall(
          getChannel().newCall(METHOD_LOG, getCallOptions()), request);
    }
  }

  public static org.glowroot.agent.shaded.grpc.ServerServiceDefinition bindService(
      final CollectorService serviceImpl) {
    return org.glowroot.agent.shaded.grpc.ServerServiceDefinition.builder(SERVICE_NAME)
      .addMethod(
        METHOD_HELLO,
        asyncUnaryCall(
          new org.glowroot.agent.shaded.grpc.stub.ServerCalls.UnaryMethod<
              org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello,
              org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage>() {
            @java.lang.Override
            public void invoke(
                org.glowroot.wire.api.model.CollectorServiceOuterClass.Hello request,
                org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
              serviceImpl.hello(request, responseObserver);
            }
          }))
      .addMethod(
        METHOD_COLLECT_CONFIG,
        asyncUnaryCall(
          new org.glowroot.agent.shaded.grpc.stub.ServerCalls.UnaryMethod<
              org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage,
              org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage>() {
            @java.lang.Override
            public void invoke(
                org.glowroot.wire.api.model.CollectorServiceOuterClass.ConfigMessage request,
                org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
              serviceImpl.collectConfig(request, responseObserver);
            }
          }))
      .addMethod(
        METHOD_COLLECT_JVM_INFO,
        asyncUnaryCall(
          new org.glowroot.agent.shaded.grpc.stub.ServerCalls.UnaryMethod<
              org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage,
              org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage>() {
            @java.lang.Override
            public void invoke(
                org.glowroot.wire.api.model.CollectorServiceOuterClass.JvmInfoMessage request,
                org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
              serviceImpl.collectJvmInfo(request, responseObserver);
            }
          }))
      .addMethod(
        METHOD_COLLECT_AGGREGATES,
        asyncUnaryCall(
          new org.glowroot.agent.shaded.grpc.stub.ServerCalls.UnaryMethod<
              org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage,
              org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage>() {
            @java.lang.Override
            public void invoke(
                org.glowroot.wire.api.model.CollectorServiceOuterClass.AggregateMessage request,
                org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
              serviceImpl.collectAggregates(request, responseObserver);
            }
          }))
      .addMethod(
        METHOD_COLLECT_GAUGE_VALUES,
        asyncUnaryCall(
          new org.glowroot.agent.shaded.grpc.stub.ServerCalls.UnaryMethod<
              org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage,
              org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage>() {
            @java.lang.Override
            public void invoke(
                org.glowroot.wire.api.model.CollectorServiceOuterClass.GaugeValueMessage request,
                org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
              serviceImpl.collectGaugeValues(request, responseObserver);
            }
          }))
      .addMethod(
        METHOD_COLLECT_TRACE,
        asyncUnaryCall(
          new org.glowroot.agent.shaded.grpc.stub.ServerCalls.UnaryMethod<
              org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage,
              org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage>() {
            @java.lang.Override
            public void invoke(
                org.glowroot.wire.api.model.CollectorServiceOuterClass.TraceMessage request,
                org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
              serviceImpl.collectTrace(request, responseObserver);
            }
          }))
      .addMethod(
        METHOD_LOG,
        asyncUnaryCall(
          new org.glowroot.agent.shaded.grpc.stub.ServerCalls.UnaryMethod<
              org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage,
              org.glowroot.wire.api.model.CollectorServiceOuterClass.EmptyMessage>() {
            @java.lang.Override
            public void invoke(
                org.glowroot.wire.api.model.CollectorServiceOuterClass.LogMessage request,
                org.glowroot.agent.shaded.grpc.stub.StreamObserver responseObserver) {
              serviceImpl.log(request, responseObserver);
            }
          })).build();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy