Class PublisherGrpc (1.120.3)

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
TypeDescription
String

Static Methods

getCreateTopicMethod()

public static MethodDescriptor<Topic,Topic> getCreateTopicMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<Topic,Topic>

getDeleteTopicMethod()

public static MethodDescriptor<DeleteTopicRequest,Empty> getDeleteTopicMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteTopicRequest,Empty>

getDetachSubscriptionMethod()

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

getGetTopicMethod()

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

getListTopicSnapshotsMethod()

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

getListTopicSubscriptionsMethod()

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

getListTopicsMethod()

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

getPublishMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateTopicMethod()

public static MethodDescriptor<UpdateTopicRequest,Topic> getUpdateTopicMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
PublisherGrpc.PublisherStub