Reference documentation and code samples for the Cloud Pub/Sub v1 API class Subscriber.
The service that an application uses to manipulate subscriptions and to
consume messages from a subscription via the Pull method or by
establishing a bi-directional stream using the StreamingPull method.
public static void BindService(ServiceBinderBase serviceBinder, Subscriber.SubscriberBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic.
Note: this method is part of an experimental API that can change or be removed without any prior notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-09 UTC."],[[["The latest version of the `Subscriber` class within the Google Cloud Pub/Sub v1 API is version 3.23.0, with a list of previous versions available for reference."],["The `Subscriber` class is a service used by applications to manage subscriptions and consume messages either through the `Pull` method or the `StreamingPull` method."],["The class `Subscriber` inherits from the base object class, with the following inherited members; GetHashCode(), GetType(), MemberwiseClone(), and ToString()."],["The `BindService` method allows the creation of a service definition that can be registered with a server, taking in a `Subscriber.SubscriberBase` object."],["`BindService` also can register service methods with a service binder, utilizing the `AddMethod` method, and an object implementing the server-side logic with `Subscriber.SubscriberBase`."]]],[]]