Interface LogSplitOrBuilder (3.21.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for uid.