public final class PublisherGrpc
The service that an application uses to manipulate topics, and to send
messages to a topic.
Static Fields
SERVICE_NAME
public static final String SERVICE_NAME
Field Value |
Type |
Description |
String |
|
Static Methods
bindService(PublisherGrpc.AsyncService service)
public static final ServerServiceDefinition bindService(PublisherGrpc.AsyncService service)
Returns |
Type |
Description |
io.grpc.ServerServiceDefinition |
|
getCreateTopicMethod()
public static MethodDescriptor<Topic,Topic> getCreateTopicMethod()
Returns |
Type |
Description |
io.grpc.MethodDescriptor<Topic,Topic> |
|
getDeleteTopicMethod()
public static MethodDescriptor<DeleteTopicRequest,Empty> getDeleteTopicMethod()
getDetachSubscriptionMethod()
public static MethodDescriptor<DetachSubscriptionRequest,DetachSubscriptionResponse> getDetachSubscriptionMethod()
getGetTopicMethod()
public static MethodDescriptor<GetTopicRequest,Topic> getGetTopicMethod()
getListTopicSnapshotsMethod()
public static MethodDescriptor<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse> getListTopicSnapshotsMethod()
getListTopicSubscriptionsMethod()
public static MethodDescriptor<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse> getListTopicSubscriptionsMethod()
getListTopicsMethod()
public static MethodDescriptor<ListTopicsRequest,ListTopicsResponse> getListTopicsMethod()
getPublishMethod()
public static MethodDescriptor<PublishRequest,PublishResponse> getPublishMethod()
getServiceDescriptor()
public static ServiceDescriptor getServiceDescriptor()
Returns |
Type |
Description |
io.grpc.ServiceDescriptor |
|
getUpdateTopicMethod()
public static MethodDescriptor<UpdateTopicRequest,Topic> getUpdateTopicMethod()
newBlockingStub(Channel channel)
public static PublisherGrpc.PublisherBlockingStub newBlockingStub(Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newFutureStub(Channel channel)
public static PublisherGrpc.PublisherFutureStub newFutureStub(Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|
newStub(Channel channel)
public static PublisherGrpc.PublisherStub newStub(Channel channel)
Creates a new async stub that supports all call types for the service
Parameter |
Name |
Description |
channel |
io.grpc.Channel
|