Package com.google.cloud.pubsublite
Class SeekTarget
java.lang.Object
com.google.cloud.pubsublite.SeekTarget
- All Implemented Interfaces:
Serializable
The target location to seek a subscription to.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BacklogLocationabstract com.google.protobuf.Timestampabstract SeekTarget.KindgetKind()static SeekTargetof(BacklogLocation location) Seek to a named backlog location.static SeekTargetofEventTime(com.google.protobuf.Timestamp time) Seek to a message event timestamp.static SeekTargetofPublishTime(com.google.protobuf.Timestamp time) Seek to a message publish timestamp.abstract com.google.protobuf.Timestamp
-
Constructor Details
-
SeekTarget
public SeekTarget()
-
-
Method Details
-
getKind
-
backlogLocation
-
publishTime
public abstract com.google.protobuf.Timestamp publishTime() -
eventTime
public abstract com.google.protobuf.Timestamp eventTime() -
of
Seek to a named backlog location. -
ofPublishTime
Seek to a message publish timestamp. -
ofEventTime
Seek to a message event timestamp.
-