Class PublisherGrpc (1.129.6)

public final class PublisherGrpc

The service that an application uses to manipulate topics, and to send messages to a topic.

Inheritance

java.lang.Object > PublisherGrpc

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)
Parameter
Name Description
service PublisherGrpc.AsyncService
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()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteTopicRequest,Empty>

getDetachSubscriptionMethod()

public static MethodDescriptor<DetachSubscriptionRequest,DetachSubscriptionResponse> getDetachSubscriptionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DetachSubscriptionRequest,DetachSubscriptionResponse>

getGetTopicMethod()

public static MethodDescriptor<GetTopicRequest,Topic> getGetTopicMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetTopicRequest,Topic>

getListTopicSnapshotsMethod()

public static MethodDescriptor<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse> getListTopicSnapshotsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListTopicSnapshotsRequest,ListTopicSnapshotsResponse>

getListTopicSubscriptionsMethod()

public static MethodDescriptor<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse> getListTopicSubscriptionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListTopicSubscriptionsRequest,ListTopicSubscriptionsResponse>

getListTopicsMethod()

public static MethodDescriptor<ListTopicsRequest,ListTopicsResponse> getListTopicsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListTopicsRequest,ListTopicsResponse>

getPublishMethod()

public static MethodDescriptor<PublishRequest,PublishResponse> getPublishMethod()
Returns
Type Description
io.grpc.MethodDescriptor<PublishRequest,PublishResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateTopicMethod()

public static MethodDescriptor<UpdateTopicRequest,Topic> getUpdateTopicMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateTopicRequest,Topic>

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
Returns
Type Description
PublisherGrpc.PublisherBlockingStub

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
Returns
Type Description
PublisherGrpc.PublisherFutureStub

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
Returns
Type Description
PublisherGrpc.PublisherStub