# Interface LogSplitOrBuilder (3.34.0)

3.34.0 (latest) 3.32.0 3.29.0 3.28.0 3.26.0 3.24.0 3.23.10 3.22.6 3.21.4 3.20.7 3.19.0 3.18.0 3.17.2 3.16.2 3.15.17 3.14.9 3.13.7 3.12.1 3.11.10 3.10.7 3.9.0 3.8.0 3.7.6 3.6.4 3.5.3

    public interface LogSplitOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for uid. |