Package p4.v1
Class P4RuntimeGrpc
java.lang.Object
p4.v1.P4RuntimeGrpc
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classA stub to allow clients to do limited synchronous rpc calls to service P4Runtime.static final classA stub to allow clients to do synchronous rpc calls to service P4Runtime.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service P4Runtime.static classBase class for the server implementation of the service P4Runtime.static final classA stub to allow clients to do asynchronous rpc calls to service P4Runtime. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionbindService(P4RuntimeGrpc.AsyncService service) static io.grpc.MethodDescriptor<P4RuntimeOuterClass.CapabilitiesRequest, P4RuntimeOuterClass.CapabilitiesResponse> static io.grpc.MethodDescriptor<P4RuntimeOuterClass.GetForwardingPipelineConfigRequest, P4RuntimeOuterClass.GetForwardingPipelineConfigResponse> static io.grpc.MethodDescriptor<P4RuntimeOuterClass.ReadRequest, P4RuntimeOuterClass.ReadResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<P4RuntimeOuterClass.SetForwardingPipelineConfigRequest, P4RuntimeOuterClass.SetForwardingPipelineConfigResponse> static io.grpc.MethodDescriptor<P4RuntimeOuterClass.StreamMessageRequest, P4RuntimeOuterClass.StreamMessageResponse> static io.grpc.MethodDescriptor<P4RuntimeOuterClass.WriteRequest, P4RuntimeOuterClass.WriteResponse> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic P4RuntimeGrpc.P4RuntimeStubnewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getWriteMethod
public static io.grpc.MethodDescriptor<P4RuntimeOuterClass.WriteRequest,P4RuntimeOuterClass.WriteResponse> getWriteMethod() -
getReadMethod
public static io.grpc.MethodDescriptor<P4RuntimeOuterClass.ReadRequest,P4RuntimeOuterClass.ReadResponse> getReadMethod() -
getSetForwardingPipelineConfigMethod
public static io.grpc.MethodDescriptor<P4RuntimeOuterClass.SetForwardingPipelineConfigRequest,P4RuntimeOuterClass.SetForwardingPipelineConfigResponse> getSetForwardingPipelineConfigMethod() -
getGetForwardingPipelineConfigMethod
public static io.grpc.MethodDescriptor<P4RuntimeOuterClass.GetForwardingPipelineConfigRequest,P4RuntimeOuterClass.GetForwardingPipelineConfigResponse> getGetForwardingPipelineConfigMethod() -
getStreamChannelMethod
public static io.grpc.MethodDescriptor<P4RuntimeOuterClass.StreamMessageRequest,P4RuntimeOuterClass.StreamMessageResponse> getStreamChannelMethod() -
getCapabilitiesMethod
public static io.grpc.MethodDescriptor<P4RuntimeOuterClass.CapabilitiesRequest,P4RuntimeOuterClass.CapabilitiesResponse> getCapabilitiesMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-