Interface LogSplitOrBuilder (3.16.0)

public interface LogSplitOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIndex()

public abstract int getIndex()

The index of this LogEntry in the sequence of split log entries. Log entries are given |index| values 0, 1, ..., n-1 for a sequence of n log entries.

int32 index = 2;

Returns
TypeDescription
int

The index.

getTotalSplits()

public abstract int getTotalSplits()

The total number of log entries that the original LogEntry was split into.

int32 total_splits = 3;

Returns
TypeDescription
int

The totalSplits.

getUid()

public abstract String getUid()

A globally unique identifier for all log entries in a sequence of split log entries. All log entries with the same |LogSplit.uid| are assumed to be part of the same sequence of split log entries.

string uid = 1;

Returns
TypeDescription
String

The uid.

getUidBytes()

public abstract ByteString getUidBytes()

A globally unique identifier for all log entries in a sequence of split log entries. All log entries with the same |LogSplit.uid| are assumed to be part of the same sequence of split log entries.

string uid = 1;

Returns
TypeDescription
ByteString

The bytes for uid.