Enum SeekRequest.NamedTarget (1.5.5)

public enum SeekRequest.NamedTarget extends Enum<SeekRequest.NamedTarget> implements ProtocolMessageEnum

A special target in the partition that takes no other parameters.

Protobuf enum google.cloud.pubsublite.v1.SeekRequest.NamedTarget

Implements

ProtocolMessageEnum

Static Fields

NameDescription
COMMITTED_CURSOR

A target corresponding to the committed cursor for the given subscription and topic partition.

COMMITTED_CURSOR = 2;

COMMITTED_CURSOR_VALUE

A target corresponding to the committed cursor for the given subscription and topic partition.

COMMITTED_CURSOR = 2;

HEAD

A target corresponding to the most recently published message in the partition.

HEAD = 1;

HEAD_VALUE

A target corresponding to the most recently published message in the partition.

HEAD = 1;

NAMED_TARGET_UNSPECIFIED

Default value. This value is unused.

NAMED_TARGET_UNSPECIFIED = 0;

NAMED_TARGET_UNSPECIFIED_VALUE

Default value. This value is unused.

NAMED_TARGET_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()