Interface SeekSubscriptionRequestOrBuilder (1.13.8)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for namedTarget.

getTargetCase()

public abstract SeekSubscriptionRequest.TargetCase getTargetCase()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the timeTarget field is set.