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."],[[["This page provides documentation for the `Subscriber` class within the Google Cloud Pub/Sub v1 API, specifically for the .NET environment, showcasing versions ranging from 2.3.0 to the latest 3.23.0."],["The `Subscriber` class is central to managing subscriptions and consuming messages, offering functionalities such as the `Pull` method and the `StreamingPull` method for message retrieval."],["The page details how to create service definitions and register service methods using `BindService`, allowing for server-side handling logic via a `SubscriberBase` implementation."],["It contains information about inherited members, including `GetHashCode`, `GetType`, `MemberwiseClone`, and `ToString` from the base `object` class, as well as showing the associated namespace `Google.Cloud.PubSub.V1` and assembly `Google.Cloud.PubSub.V1.dll`."],["The documentation is focused on the .NET environment and references the `Grpc.Core` library for service binding, and also links to related pages for more context such as `SubscriberBase` and `ServerServiceDefinition`."]]],[]]