Interface ComputeHeadCursorRequestOrBuilder (1.10.0)

public interface ComputeHeadCursorRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPartition()

public abstract long getPartition()

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

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

Returns
TypeDescription
long

The partition.

getTopic()

public abstract String getTopic()

Required. The topic for which we should compute the head cursor.

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

Returns
TypeDescription
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

Required. The topic for which we should compute the head cursor.

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

Returns
TypeDescription
ByteString

The bytes for topic.