Package io.grpc.testing.integration
Class TestServiceGrpc
- java.lang.Object
-
- io.grpc.testing.integration.TestServiceGrpc
-
public final class TestServiceGrpc extends java.lang.ObjectA simple service to test the various types of RPCs and experiment with performance with various types of payload.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTestServiceGrpc.AsyncServiceA simple service to test the various types of RPCs and experiment with performance with various types of payload.static classTestServiceGrpc.TestServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service TestService.static classTestServiceGrpc.TestServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service TestService.static classTestServiceGrpc.TestServiceImplBaseBase class for the server implementation of the service TestService.static classTestServiceGrpc.TestServiceStubA stub to allow clients to do asynchronous rpc calls to service TestService.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEmptyCallMethod
public static io.grpc.MethodDescriptor<EmptyProtos.Empty,EmptyProtos.Empty> getEmptyCallMethod()
-
getUnaryCallMethod
public static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse> getUnaryCallMethod()
-
getCacheableUnaryCallMethod
public static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse> getCacheableUnaryCallMethod()
-
getStreamingOutputCallMethod
public static io.grpc.MethodDescriptor<Messages.StreamingOutputCallRequest,Messages.StreamingOutputCallResponse> getStreamingOutputCallMethod()
-
getStreamingInputCallMethod
public static io.grpc.MethodDescriptor<Messages.StreamingInputCallRequest,Messages.StreamingInputCallResponse> getStreamingInputCallMethod()
-
getFullDuplexCallMethod
public static io.grpc.MethodDescriptor<Messages.StreamingOutputCallRequest,Messages.StreamingOutputCallResponse> getFullDuplexCallMethod()
-
getHalfDuplexCallMethod
public static io.grpc.MethodDescriptor<Messages.StreamingOutputCallRequest,Messages.StreamingOutputCallResponse> getHalfDuplexCallMethod()
-
getUnimplementedCallMethod
public static io.grpc.MethodDescriptor<EmptyProtos.Empty,EmptyProtos.Empty> getUnimplementedCallMethod()
-
newStub
public static TestServiceGrpc.TestServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static TestServiceGrpc.TestServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static TestServiceGrpc.TestServiceFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(TestServiceGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-