Class TraceService

  • All Implemented Interfaces:
    com.google.protobuf.Service
    Direct Known Subclasses:
    TraceService.Stub

    public abstract class TraceService
    extends Object
    implements com.google.protobuf.Service
     Service for streaming traces to server that consumes the trace data. It
     uses OpenCensus data model as a standard to represent trace information.
     
    Protobuf service envoy.service.trace.v2.TraceService
    • Constructor Detail

      • TraceService

        protected TraceService()
    • Method Detail

      • newReflectiveService

        public static com.google.protobuf.Service newReflectiveService​(TraceService.Interface impl)
      • newReflectiveBlockingService

        public static com.google.protobuf.BlockingService newReflectiveBlockingService​(TraceService.BlockingInterface impl)
      • streamTraces

        public abstract void streamTraces​(com.google.protobuf.RpcController controller,
                                          StreamTracesMessage request,
                                          com.google.protobuf.RpcCallback<StreamTracesResponse> done)
         Envoy will connect and send StreamTracesMessage messages forever. It does
         not expect any response to be sent as nothing would be done in the case
         of failure.
         
        rpc StreamTraces(stream .envoy.service.trace.v2.StreamTracesMessage) returns (.envoy.service.trace.v2.StreamTracesResponse);
      • getDescriptor

        public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Service
      • callMethod

        public final void callMethod​(com.google.protobuf.Descriptors.MethodDescriptor method,
                                     com.google.protobuf.RpcController controller,
                                     com.google.protobuf.Message request,
                                     com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
        Specified by:
        callMethod in interface com.google.protobuf.Service
      • getRequestPrototype

        public final com.google.protobuf.Message getRequestPrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getRequestPrototype in interface com.google.protobuf.Service
      • getResponsePrototype

        public final com.google.protobuf.Message getResponsePrototype​(com.google.protobuf.Descriptors.MethodDescriptor method)
        Specified by:
        getResponsePrototype in interface com.google.protobuf.Service
      • newStub

        public static TraceService.Stub newStub​(com.google.protobuf.RpcChannel channel)