Package com.streamlayer.social
Class TwitterGrpc
- java.lang.Object
-
- com.streamlayer.social.TwitterGrpc
-
@Generated(value="by gRPC proto compiler (version 1.65.1)", comments="Source: streamlayer/social/twitter.proto") public final class TwitterGrpc extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTwitterGrpc.AsyncServicestatic classTwitterGrpc.TwitterBlockingStubA stub to allow clients to do synchronous rpc calls to service Twitter.static classTwitterGrpc.TwitterFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service Twitter.static classTwitterGrpc.TwitterImplBaseBase class for the server implementation of the service Twitter.static classTwitterGrpc.TwitterStubA stub to allow clients to do asynchronous rpc calls to service Twitter.
-
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(TwitterGrpc.AsyncService service)static io.grpc.MethodDescriptor<GetTweetRequest,GetTweetResponse>getGetTweetMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<SubscriptionRequest,SubscriptionResponse>getSubscriptionMethod()static io.grpc.MethodDescriptor<SyncRequest,SyncResponse>getSyncMethod()static io.grpc.MethodDescriptor<SyncTweetRequest,SyncTweetResponse>getSyncTweetMethod()static TwitterGrpc.TwitterBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic TwitterGrpc.TwitterFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic TwitterGrpc.TwitterStubnewStub(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
-
getSubscriptionMethod
public static io.grpc.MethodDescriptor<SubscriptionRequest,SubscriptionResponse> getSubscriptionMethod()
-
getSyncMethod
public static io.grpc.MethodDescriptor<SyncRequest,SyncResponse> getSyncMethod()
-
getGetTweetMethod
public static io.grpc.MethodDescriptor<GetTweetRequest,GetTweetResponse> getGetTweetMethod()
-
getSyncTweetMethod
public static io.grpc.MethodDescriptor<SyncTweetRequest,SyncTweetResponse> getSyncTweetMethod()
-
newStub
public static TwitterGrpc.TwitterStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static TwitterGrpc.TwitterBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static TwitterGrpc.TwitterFutureStub 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(TwitterGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-