Class PublisherServiceGrpc
- java.lang.Object
-
- com.google.cloud.pubsublite.proto.PublisherServiceGrpc
-
@Generated(value="by gRPC proto compiler", comments="Source: google/cloud/pubsublite/v1/publisher.proto") public final class PublisherServiceGrpc extends Object
The service that a publisher client application uses to publish messages to topics. Published messages are retained by the service for the duration of the retention period configured for the respective topic, and are delivered to subscriber clients upon request (via the `SubscriberService`).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PublisherServiceGrpc.AsyncService
The service that a publisher client application uses to publish messages to topics.static class
PublisherServiceGrpc.PublisherServiceBlockingStub
A stub to allow clients to do synchronous rpc calls to service PublisherService.static class
PublisherServiceGrpc.PublisherServiceFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service PublisherService.static class
PublisherServiceGrpc.PublisherServiceImplBase
Base class for the server implementation of the service PublisherService.static class
PublisherServiceGrpc.PublisherServiceStub
A stub to allow clients to do asynchronous rpc calls to service PublisherService.
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinition
bindService(PublisherServiceGrpc.AsyncService service)
static io.grpc.MethodDescriptor<PublishRequest,PublishResponse>
getPublishMethod()
static io.grpc.ServiceDescriptor
getServiceDescriptor()
static PublisherServiceGrpc.PublisherServiceBlockingStub
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic PublisherServiceGrpc.PublisherServiceFutureStub
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic PublisherServiceGrpc.PublisherServiceStub
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPublishMethod
public static io.grpc.MethodDescriptor<PublishRequest,PublishResponse> getPublishMethod()
-
newStub
public static PublisherServiceGrpc.PublisherServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static PublisherServiceGrpc.PublisherServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static PublisherServiceGrpc.PublisherServiceFutureStub 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(PublisherServiceGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-