Package com.google.cloud.pubsublite (1.5.5)

Classes

AdminClientSettings

Settings for construction a Pub/Sub Lite AdminClient.

AdminClientSettings.Builder

CloudRegion

A wrapped string representing a Google Cloud region.

CloudRegionOrZone

CloudZone

A representation of a Google Cloud zone.

Constants

Useful general constants for Pub/Sub Lite.

Endpoints

Constructs regional endpoints from a CloudRegion.

ErrorCodes

Pub/Sub Lite retryable error codes.

LocationPath

A string wrapper representing a project and location.

LocationPath.Builder

Message

A user message.

Message.Builder

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.

Offset

An offset in the partition.

Partition

A partition of a topic.

PartitionLookupUtils

Utilities for looking up information on partitions.

ProjectId

ProjectIdOrNumber

ProjectNumber

A wrapper class for the project number.

ProjectPath

A string wrapper representing a project.

ProjectPath.Builder

ReservationName

A string wrapper for the name of a reservation.

ReservationPath

A string wrapper representing a reservation. Should be structured like:

projects/<project number>/locations/<cloud region>/reservations/<id>

ReservationPath.Builder

SeekTarget

The target location to seek a subscription to.

SequencedMessage

A message with its sequencing information in the partition.

SubscriptionName

A string wrapper for the name of a subscription.

SubscriptionPath

A string wrapper representing a subscription. Should be structured like:

projects/<project number>/locations/<cloud region or zone>/subscriptions/<id>

SubscriptionPath.Builder

TopicName

A string wrapper for the name of a topic.

TopicPath

A string wrapper representing a topic. Should be structured like:

projects/<project number>/locations/<cloud region or zone>/topics/<id>

TopicPath.Builder

Interfaces

AdminClient

A client for performing Pub/Sub Lite admin operations.

MessageTransformer<FromT,ToT>

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

BacklogLocation

BacklogLocation refers to a location with respect to the message backlog.

CloudRegionOrZone.Kind

SeekTarget.Kind