Class ExternalProcessor
- java.lang.Object
-
- io.envoyproxy.envoy.service.ext_proc.v3.ExternalProcessor
-
- All Implemented Interfaces:
com.google.protobuf.Service
- Direct Known Subclasses:
ExternalProcessor.Stub
public abstract class ExternalProcessor extends Object implements com.google.protobuf.Service
Protobuf serviceenvoy.service.ext_proc.v3.ExternalProcessor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExternalProcessor.BlockingInterfacestatic interfaceExternalProcessor.Interfacestatic classExternalProcessor.Stub
-
Constructor Summary
Constructors Modifier Constructor Description protectedExternalProcessor()
-
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 ExternalProcessor.BlockingInterfacenewBlockingStub(com.google.protobuf.BlockingRpcChannel channel)static com.google.protobuf.BlockingServicenewReflectiveBlockingService(ExternalProcessor.BlockingInterface impl)static com.google.protobuf.ServicenewReflectiveService(ExternalProcessor.Interface impl)static ExternalProcessor.StubnewStub(com.google.protobuf.RpcChannel channel)abstract voidprocess(com.google.protobuf.RpcController controller, ProcessingRequest request, com.google.protobuf.RpcCallback<ProcessingResponse> done)This begins the bidirectional stream that Envoy will use to give the server control over what the filter does.
-
-
-
Method Detail
-
newReflectiveService
public static com.google.protobuf.Service newReflectiveService(ExternalProcessor.Interface impl)
-
newReflectiveBlockingService
public static com.google.protobuf.BlockingService newReflectiveBlockingService(ExternalProcessor.BlockingInterface impl)
-
process
public abstract void process(com.google.protobuf.RpcController controller, ProcessingRequest request, com.google.protobuf.RpcCallback<ProcessingResponse> done)This begins the bidirectional stream that Envoy will use to give the server control over what the filter does. The actual protocol is described by the ProcessingRequest and ProcessingResponse messages below.
rpc Process(stream .envoy.service.ext_proc.v3.ProcessingRequest) returns (stream .envoy.service.ext_proc.v3.ProcessingResponse);
-
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 ExternalProcessor.Stub newStub(com.google.protobuf.RpcChannel channel)
-
newBlockingStub
public static ExternalProcessor.BlockingInterface newBlockingStub(com.google.protobuf.BlockingRpcChannel channel)
-
-