@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`).
| Modifier and Type | Class and 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.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and 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 service
|
static PublisherServiceGrpc.PublisherServiceFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static PublisherServiceGrpc.PublisherServiceStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final String SERVICE_NAME
public static io.grpc.MethodDescriptor<PublishRequest,PublishResponse> getPublishMethod()
public static PublisherServiceGrpc.PublisherServiceStub newStub(io.grpc.Channel channel)
public static PublisherServiceGrpc.PublisherServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
public static PublisherServiceGrpc.PublisherServiceFutureStub newFutureStub(io.grpc.Channel channel)
public static final io.grpc.ServerServiceDefinition bindService(PublisherServiceGrpc.AsyncService service)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2023 Google LLC. All rights reserved.