Class SeekTarget

java.lang.Object
com.google.cloud.pubsublite.SeekTarget
All Implemented Interfaces:
Serializable

public abstract class SeekTarget extends Object implements Serializable
The target location to seek a subscription to.
See Also:
  • Constructor Details

    • SeekTarget

      public SeekTarget()
  • Method Details

    • getKind

      public abstract SeekTarget.Kind getKind()
    • backlogLocation

      public abstract BacklogLocation backlogLocation()
    • publishTime

      public abstract com.google.protobuf.Timestamp publishTime()
    • eventTime

      public abstract com.google.protobuf.Timestamp eventTime()
    • of

      public static SeekTarget of(BacklogLocation location)
      Seek to a named backlog location.
    • ofPublishTime

      public static SeekTarget ofPublishTime(com.google.protobuf.Timestamp time)
      Seek to a message publish timestamp.
    • ofEventTime

      public static SeekTarget ofEventTime(com.google.protobuf.Timestamp time)
      Seek to a message event timestamp.