Class TraceService
- java.lang.Object
-
- io.envoyproxy.envoy.service.trace.v3.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 serviceenvoy.service.trace.v3.TraceService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTraceService.BlockingInterfacestatic interfaceTraceService.Interfacestatic classTraceService.Stub
-
Constructor Summary
Constructors Modifier Constructor Description protectedTraceService()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidcallMethod(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)static com.google.protobuf.Descriptors.ServiceDescriptorgetDescriptor()com.google.protobuf.Descriptors.ServiceDescriptorgetDescriptorForType()com.google.protobuf.MessagegetRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)com.google.protobuf.MessagegetResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)static TraceService.BlockingInterfacenewBlockingStub(com.google.protobuf.BlockingRpcChannel channel)static com.google.protobuf.BlockingServicenewReflectiveBlockingService(TraceService.BlockingInterface impl)static com.google.protobuf.ServicenewReflectiveService(TraceService.Interface impl)static TraceService.StubnewStub(com.google.protobuf.RpcChannel channel)abstract voidstreamTraces(com.google.protobuf.RpcController controller, StreamTracesMessage request, com.google.protobuf.RpcCallback<StreamTracesResponse> done)Envoy will connect and send StreamTracesMessage messages forever.
-
-
-
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.v3.StreamTracesMessage) returns (.envoy.service.trace.v3.StreamTracesResponse);
-
getDescriptor
public static final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptor()
-
getDescriptorForType
public final com.google.protobuf.Descriptors.ServiceDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.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:
callMethodin interfacecom.google.protobuf.Service
-
getRequestPrototype
public final com.google.protobuf.Message getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getRequestPrototypein interfacecom.google.protobuf.Service
-
getResponsePrototype
public final com.google.protobuf.Message getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor method)
- Specified by:
getResponsePrototypein interfacecom.google.protobuf.Service
-
newStub
public static TraceService.Stub newStub(com.google.protobuf.RpcChannel channel)
-
newBlockingStub
public static TraceService.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
-
-