Interface LogSplitOrBuilder (0.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 logs. LogEntries are given |index| values 0, 1, ..., n-1 for a sequence of n entries.

int32 index = 2;

Returns
Type Description
int

The index.

getTotalSplits()

public abstract int getTotalSplits()

The total number of logs 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 LogEntries in a sequence of split logs. All LogEntries with the same |LogSplit.uid| are assumed to be part of the same sequence of split logs.

string uid = 1;

Returns
Type Description
String

The uid.

getUidBytes()

public abstract ByteString getUidBytes()

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

string uid = 1;

Returns
Type Description
ByteString

The bytes for uid.