Package com.google.cloud.pubsub.v1 (1.130.0)
GitHub Repository |
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.SchemaServiceClient |
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.SubscriptionAdminClient |
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.TopicAdminClient |
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.SchemaServiceSettings |
Settings class to configure an instance of SchemaServiceClient.
The default instance has everything set to sensible defaults: |
com.google.cloud.pubsub.v1.SubscriptionAdminSettings |
Settings class to configure an instance of SubscriptionAdminClient.
The default instance has everything set to sensible defaults: |
com.google.cloud.pubsub.v1.TopicAdminSettings |
Settings class to configure an instance of TopicAdminClient.
The default instance has everything set to sensible defaults: |
Classes
Interfaces
Interface | Description |
---|---|
com.google.cloud.pubsub.v1.AckReplyConsumer | Accepts a reply, sending it to the service. |
com.google.cloud.pubsub.v1.AckReplyConsumerWithResponse | 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.MessageReceiver | This interface can be implemented by users of Subscriber to receive messages. |
com.google.cloud.pubsub.v1.MessageReceiverWithAckResponse | |
com.google.cloud.pubsub.v1.PublisherInterface | An interface for a Cloud Pub/Sub publisher. |
com.google.cloud.pubsub.v1.SubscriberInterface | The core interface for a Cloud Pub/Sub subscriber, consisting only of ApiService methods. |
Enums
Enum | Description |
---|---|
com.google.cloud.pubsub.v1.AckResponse |