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 interfacePublisherServiceGrpc.AsyncServiceThe service that a publisher client application uses to publish messages to topics.static classPublisherServiceGrpc.PublisherServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service PublisherService.static classPublisherServiceGrpc.PublisherServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service PublisherService.static classPublisherServiceGrpc.PublisherServiceImplBaseBase class for the server implementation of the service PublisherService.static classPublisherServiceGrpc.PublisherServiceStubA stub to allow clients to do asynchronous rpc calls to service PublisherService.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(PublisherServiceGrpc.AsyncService service)static io.grpc.MethodDescriptor<PublishRequest,PublishResponse>getPublishMethod()static io.grpc.ServiceDescriptorgetServiceDescriptor()static PublisherServiceGrpc.PublisherServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic PublisherServiceGrpc.PublisherServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic PublisherServiceGrpc.PublisherServiceStubnewStub(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()
-
-