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 ClassesModifier and TypeClassDescriptionstatic interfaceThe service that a publisher client application uses to publish messages to topics.static final classA stub to allow clients to do synchronous rpc calls to service PublisherService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service PublisherService.static classBase class for the server implementation of the service PublisherService.static final classA stub to allow clients to do asynchronous rpc calls to service PublisherService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<PublishRequest,PublishResponse> static io.grpc.ServiceDescriptornewBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(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
-
getPublishMethod
-
newStub
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()
-