# Interface LogEntryOperationOrBuilder (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 LogEntryOperationOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getFirst()

    public abstract boolean getFirst()

Optional. Set this to True if this is the first log entry in the operation.

`bool first = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The first. |

### getId()

    public abstract String getId()

Optional. An arbitrary operation identifier. Log entries with the same
identifier are assumed to be part of the same operation.

`string id = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The id. |

### getIdBytes()

    public abstract ByteString getIdBytes()

Optional. An arbitrary operation identifier. Log entries with the same
identifier are assumed to be part of the same operation.

`string id = 1 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for id. |

### getLast()

    public abstract boolean getLast()

Optional. Set this to True if this is the last log entry in the operation.

`bool last = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The last. |

### getProducer()

    public abstract String getProducer()

Optional. An arbitrary producer identifier. The combination of `id` and
`producer` must be globally unique. Examples for `producer`:
`"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.

`string producer = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The producer. |

### getProducerBytes()

    public abstract ByteString getProducerBytes()

Optional. An arbitrary producer identifier. The combination of `id` and
`producer` must be globally unique. Examples for `producer`:
`"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.

`string producer = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for producer. |