Interface SeekSubscriptionRequestOrBuilder (1.12.22)

public interface SeekSubscriptionRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The name of the subscription to seek.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The name of the subscription to seek.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getNamedTarget()

public abstract SeekSubscriptionRequest.NamedTarget getNamedTarget()

Seek to a named position with respect to the message backlog.

.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;

Returns
TypeDescription
SeekSubscriptionRequest.NamedTarget

The namedTarget.

getNamedTargetValue()

public abstract int getNamedTargetValue()

Seek to a named position with respect to the message backlog.

.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for namedTarget.

getTargetCase()

public abstract SeekSubscriptionRequest.TargetCase getTargetCase()
Returns
TypeDescription
SeekSubscriptionRequest.TargetCase

getTimeTarget()

public abstract TimeTarget getTimeTarget()

Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.

.google.cloud.pubsublite.v1.TimeTarget time_target = 3;

Returns
TypeDescription
TimeTarget

The timeTarget.

getTimeTargetOrBuilder()

public abstract TimeTargetOrBuilder getTimeTargetOrBuilder()

Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.

.google.cloud.pubsublite.v1.TimeTarget time_target = 3;

Returns
TypeDescription
TimeTargetOrBuilder

hasNamedTarget()

public abstract boolean hasNamedTarget()

Seek to a named position with respect to the message backlog.

.google.cloud.pubsublite.v1.SeekSubscriptionRequest.NamedTarget named_target = 2;

Returns
TypeDescription
boolean

Whether the namedTarget field is set.

hasTimeTarget()

public abstract boolean hasTimeTarget()

Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.

.google.cloud.pubsublite.v1.TimeTarget time_target = 3;

Returns
TypeDescription
boolean

Whether the timeTarget field is set.