Package io.grpc.benchmarks.proto
Class BenchmarkServiceGrpc
- java.lang.Object
-
- io.grpc.benchmarks.proto.BenchmarkServiceGrpc
-
public final class BenchmarkServiceGrpc extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBenchmarkServiceGrpc.AsyncServicestatic classBenchmarkServiceGrpc.BenchmarkServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service BenchmarkService.static classBenchmarkServiceGrpc.BenchmarkServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service BenchmarkService.static classBenchmarkServiceGrpc.BenchmarkServiceImplBaseBase class for the server implementation of the service BenchmarkService.static classBenchmarkServiceGrpc.BenchmarkServiceStubA stub to allow clients to do asynchronous rpc calls to service BenchmarkService.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(BenchmarkServiceGrpc.AsyncService service)static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse>getStreamingBothWaysMethod()static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse>getStreamingCallMethod()static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse>getStreamingFromClientMethod()static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse>getStreamingFromServerMethod()static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse>getUnaryCallMethod()static BenchmarkServiceGrpc.BenchmarkServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic BenchmarkServiceGrpc.BenchmarkServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic BenchmarkServiceGrpc.BenchmarkServiceStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnaryCallMethod
public static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse> getUnaryCallMethod()
-
getStreamingCallMethod
public static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse> getStreamingCallMethod()
-
getStreamingFromClientMethod
public static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse> getStreamingFromClientMethod()
-
getStreamingFromServerMethod
public static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse> getStreamingFromServerMethod()
-
getStreamingBothWaysMethod
public static io.grpc.MethodDescriptor<Messages.SimpleRequest,Messages.SimpleResponse> getStreamingBothWaysMethod()
-
newStub
public static BenchmarkServiceGrpc.BenchmarkServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static BenchmarkServiceGrpc.BenchmarkServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static BenchmarkServiceGrpc.BenchmarkServiceFutureStub 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(BenchmarkServiceGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-