Interface ComputeTimeCursorRequestOrBuilder (1.9.0)

Stay organized with collections Save and categorize content based on your preferences.
public interface ComputeTimeCursorRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPartition()

public abstract long getPartition()

Required. The partition for which we should compute the cursor.

int64 partition = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
long

The partition.

getTarget()

public abstract TimeTarget getTarget()

Required. The target publish or event time. Specifying a future time will return an unset cursor.

.google.cloud.pubsublite.v1.TimeTarget target = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
TimeTarget

The target.

getTargetOrBuilder()

public abstract TimeTargetOrBuilder getTargetOrBuilder()

Required. The target publish or event time. Specifying a future time will return an unset cursor.

.google.cloud.pubsublite.v1.TimeTarget target = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription