Interface Subscriber (1.12.22)

public interface Subscriber extends SubscriberInterface

A sub-interface of com.google.cloud.pubsub.v1.SubscriberInterface.

Implements

com.google.cloud.pubsub.v1.SubscriberInterface

Static Methods

create(SubscriberSettings settings)

public static Subscriber create(SubscriberSettings settings)

Create a new Pub/Sub Lite subscriber using the provided settings.

Parameter
NameDescription
settingsSubscriberSettings
Returns
TypeDescription
Subscriber
Exceptions
TypeDescription
ApiException