Interface ComputeHeadCursorRequestOrBuilder (1.13.6)

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

The bytes for topic.