Package com.google.cloud.pubsub.v1 (1.150.1)

Client Classes

Client classes are the main entry point to using a package. They contain several variations of Java methods for each of the API's methods.

Client Description
com. google. cloud. pubsub. v1. Schema Service Client Service Description: Service for doing schema-related operations.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:

com. google. cloud. pubsub. v1. Subscription Admin Client Service Description: 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.
com. google. cloud. pubsub. v1. Topic Admin Client Service Description: The service that an application uses to manipulate topics, and to send messages to a topic.

This class provides the ability to make remote calls to the backing service through method

Settings Classes

Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.

Settings Description
com. google. cloud. pubsub. v1. Schema Service Settings Settings class to configure an instance of SchemaServiceClient .

The default instance has everything set to sensible defaults:

com. google. cloud. pubsub. v1. Subscriber Shutdown Settings Settings for configuring the shutdown behavior of a Subscriber .

This class allows customization of how the subscriber handles outstanding messages during shutdown, including whether to wait for processing to complete or to immediately nack messages,

com. google. cloud. pubsub. v1. Subscription Admin Settings Settings class to configure an instance of SubscriptionAdminClient .

The default instance has everything set to sensible defaults:

com. google. cloud. pubsub. v1. Topic Admin Settings Settings class to configure an instance of TopicAdminClient .

The default instance has everything set to sensible defaults:

Classes

Class Description
com. google. cloud. pubsub. v1. Ack Reply Consumer Impl
com. google. cloud. pubsub. v1. Ack Reply Consumer With Response Impl
com. google. cloud. pubsub. v1. Ack Request Data
com. google. cloud. pubsub. v1. Ack Request Data. Builder Builder of AckRequestData .
com. google. cloud. pubsub. v1. Logging Util
com. google. cloud. pubsub. v1. Open Census Util Utilities for propagating OpenCensus TagContext and SpanContext from publishers to subscribers.
com. google. cloud. pubsub. v1. Open Census Util. Open Census Message Receiver Wrapper class for MessageReceiver that decodes any received trace and tag contexts and puts them in scope.
com. google. cloud. pubsub. v1. Open Telemetry Pubsub Tracer
com. google. cloud. pubsub. v1. Publisher A Cloud Pub/Sub publisher , that is associated with a specific topic at creation.

A Publisher provides built-in capabilities to automatically handle batching of

com. google. cloud. pubsub. v1. Publisher. Builder A builder of Publisher s.
com. google. cloud. pubsub. v1. Pubsub Message Wrapper A wrapper class for a PubsubMessage object that handles creation and tracking of OpenTelemetry Span objects for different operations that occur during publishing.
com. google. cloud. pubsub. v1. Schema Service Client. List Schema Revisions Fixed Size Collection
com. google. cloud. pubsub. v1. Schema Service Client. List Schema Revisions Page
com. google. cloud. pubsub. v1. Schema Service Client. List Schema Revisions Paged Response
com. google. cloud. pubsub. v1. Schema Service Client. List Schemas Fixed Size Collection
com. google. cloud. pubsub. v1. Schema Service Client. List Schemas Page
com. google. cloud. pubsub. v1. Schema Service Client. List Schemas Paged Response
com. google. cloud. pubsub. v1. Schema Service Settings. Builder Builder for SchemaServiceSettings.
com. google. cloud. pubsub. v1. Subscriber A Cloud Pub/Sub subscriber that is associated with a specific subscription at creation.

A Subscriber allows you to provide an implementation of a receiver to which messages are going to be delivered as soon as they are received by the

com. google. cloud. pubsub. v1. Subscriber. Builder Builder of Subscribers .
com. google. cloud. pubsub. v1. Subscriber Shutdown Settings. Builder Builder for SubscriberShutdownSettings .
com. google. cloud. pubsub. v1. Subscription Admin Client. List Snapshots Fixed Size Collection
com. google. cloud. pubsub. v1. Subscription Admin Client. List Snapshots Page
com. google. cloud. pubsub. v1. Subscription Admin Client. List Snapshots Paged Response
com. google. cloud. pubsub. v1. Subscription Admin Client. List Subscriptions Fixed Size Collection
com. google. cloud. pubsub. v1. Subscription Admin Client. List Subscriptions Page
com. google. cloud. pubsub. v1. Subscription Admin Client. List Subscriptions Paged Response
com. google. cloud. pubsub. v1. Subscription Admin Settings. Builder Builder for SubscriptionAdminSettings.
com. google. cloud. pubsub. v1. Topic Admin Client. List Topic Snapshots Fixed Size Collection
com. google. cloud. pubsub. v1. Topic Admin Client. List Topic Snapshots Page
com. google. cloud. pubsub. v1. Topic Admin Client. List Topic Snapshots Paged Response
com. google. cloud. pubsub. v1. Topic Admin Client. List Topic Subscriptions Fixed Size Collection
com. google. cloud. pubsub. v1. Topic Admin Client. List Topic Subscriptions Page
com. google. cloud. pubsub. v1. Topic Admin Client. List Topic Subscriptions Paged Response
com. google. cloud. pubsub. v1. Topic Admin Client. List Topics Fixed Size Collection
com. google. cloud. pubsub. v1. Topic Admin Client. List Topics Page
com. google. cloud. pubsub. v1. Topic Admin Client. List Topics Paged Response
com. google. cloud. pubsub. v1. Topic Admin Settings. Builder Builder for TopicAdminSettings.

Interfaces

Interface Description
com. google. cloud. pubsub. v1. Ack Reply Consumer Accepts a reply, sending it to the service.
com. google. cloud. pubsub. v1. Ack Reply Consumer With Response Acknowledging a message in Pub/Sub means that you are done with it, and it will not be delivered to this subscription again. You should avoid acknowledging messages until you have finished processing them, so that in the event of a failure, you receive the message again.
com. google. cloud. pubsub. v1. Message Receiver This interface can be implemented by users of Subscriber to receive messages.
com. google. cloud. pubsub. v1. Message Receiver With Ack Response
com. google. cloud. pubsub. v1. Publisher Interface An interface for a Cloud Pub/Sub publisher .
com. google. cloud. pubsub. v1. Subscriber Interface The core interface for a Cloud Pub/Sub subscriber , consisting only of ApiService methods.

Enums

Enum Description
com. google. cloud. pubsub. v1. Ack Response
com. google. cloud. pubsub. v1. Logging Util. Sub System
com. google. cloud. pubsub. v1. Subscriber Shutdown Settings. Shutdown Mode Defines the behavior for handling outstanding messages during subscriber shutdown.
Create a Mobile Website
View Site in Mobile | Classic
Share by: