public abstract class SeekTarget extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SeekTarget.Kind |
| Constructor and Description |
|---|
SeekTarget() |
| Modifier and Type | Method and Description |
|---|---|
abstract BacklogLocation |
backlogLocation() |
abstract com.google.protobuf.Timestamp |
eventTime() |
abstract SeekTarget.Kind |
getKind() |
static SeekTarget |
of(BacklogLocation location)
Seek to a named backlog location.
|
static SeekTarget |
ofEventTime(com.google.protobuf.Timestamp time)
Seek to a message event timestamp.
|
static SeekTarget |
ofPublishTime(com.google.protobuf.Timestamp time)
Seek to a message publish timestamp.
|
abstract com.google.protobuf.Timestamp |
publishTime() |
public abstract SeekTarget.Kind getKind()
public abstract BacklogLocation backlogLocation()
public abstract com.google.protobuf.Timestamp publishTime()
public abstract com.google.protobuf.Timestamp eventTime()
public static SeekTarget of(BacklogLocation location)
public static SeekTarget ofPublishTime(com.google.protobuf.Timestamp time)
public static SeekTarget ofEventTime(com.google.protobuf.Timestamp time)
Copyright © 2023 Google LLC. All rights reserved.