Package com.google.cloud.pubsublite (1.14.2)
GitHub Repository |
This package is not the recommended entry point to using this client library!
For this library, we recommend using com.google.cloud.pubsublite.cloudpubsub for new applications.
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.pubsublite.AdminClient | A client for performing Pub/Sub Lite admin operations. |
Settings Classes
Settings classes can be used to configure credentials, endpoints, and retry settings for a Client.
Settings | Description |
---|---|
com.google.cloud.pubsublite.AdminClientSettings | Settings for construction a Pub/Sub Lite AdminClient. |
Classes
Class | Description |
---|---|
com.google.cloud.pubsublite.AdminClientSettings.Builder | |
com.google.cloud.pubsublite.CloudRegion | A wrapped string representing a Google Cloud region. |
com.google.cloud.pubsublite.CloudRegionOrZone | |
com.google.cloud.pubsublite.CloudZone | A representation of a Google Cloud zone. |
com.google.cloud.pubsublite.Constants | Useful general constants for Pub/Sub Lite. |
com.google.cloud.pubsublite.Endpoints | Constructs regional endpoints from a CloudRegion. |
com.google.cloud.pubsublite.ErrorCodes | Pub/Sub Lite retryable error codes. |
com.google.cloud.pubsublite.LocationPath | A string wrapper representing a project and location. |
com.google.cloud.pubsublite.LocationPath.Builder | |
com.google.cloud.pubsublite.Message | A user message. |
com.google.cloud.pubsublite.Message.Builder | |
com.google.cloud.pubsublite.MessageMetadata | Information about a message in Pub/Sub Lite. Can be encoded in the string returned by the Cloud Pub/Sub com.google.cloud.pubsub.v1.Publisher#publish api or the com.google.pubsub.v1.PubsubMessage#getMessageId field on received messages. |
com.google.cloud.pubsublite.Offset | An offset in the partition. |
com.google.cloud.pubsublite.Partition | A partition of a topic. |
com.google.cloud.pubsublite.PartitionLookupUtils | Utilities for looking up information on partitions. |
com.google.cloud.pubsublite.ProjectId | |
com.google.cloud.pubsublite.ProjectIdOrNumber | |
com.google.cloud.pubsublite.ProjectNumber | A wrapper class for the project number. |
com.google.cloud.pubsublite.ProjectPath | A string wrapper representing a project. |
com.google.cloud.pubsublite.ProjectPath.Builder | |
com.google.cloud.pubsublite.ReservationName | A string wrapper for the name of a reservation. |
com.google.cloud.pubsublite.ReservationPath |
A string wrapper representing a reservation. Should be structured like:
projects/<project number>/locations/<cloud region>/reservations/<id> |
com.google.cloud.pubsublite.ReservationPath.Builder | |
com.google.cloud.pubsublite.SeekTarget | The target location to seek a subscription to. |
com.google.cloud.pubsublite.SequencedMessage | A message with its sequencing information in the partition. |
com.google.cloud.pubsublite.SubscriptionName | A string wrapper for the name of a subscription. |
com.google.cloud.pubsublite.SubscriptionPath |
A string wrapper representing a subscription. Should be structured like:
projects/<project number>/locations/<cloud region or zone>/subscriptions/<id> |
com.google.cloud.pubsublite.SubscriptionPath.Builder | |
com.google.cloud.pubsublite.TopicName | A string wrapper for the name of a topic. |
com.google.cloud.pubsublite.TopicPath |
A string wrapper representing a topic. Should be structured like:
projects/<project number>/locations/<cloud region or zone>/topics/<id> |
com.google.cloud.pubsublite.TopicPath.Builder |
Interfaces
Interface | Description |
---|---|
com.google.cloud.pubsublite.MessageTransformer | A MessageTransformer details how to transform a message of one type to another. It is likely that either FromT or ToT will be a Message on publish and SequencedMessage on subscribe. |
Enums
Enum | Description |
---|---|
com.google.cloud.pubsublite.BacklogLocation | BacklogLocation refers to a location with respect to the message backlog. |
com.google.cloud.pubsublite.CloudRegionOrZone.Kind | |
com.google.cloud.pubsublite.SeekTarget.Kind |