    public interface DataPacketOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getData()

    public abstract ByteString getData()

Required. Raw data being sent or received by the database.

`bytes data = 2 [(.google.api.field_behavior) = REQUIRED];`

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

### getFirstByteOffset()

    public abstract long getFirstByteOffset()

Optional. The absolute byte offset of the first byte in this payload. 0 for new connections or resumed connections that hasn't acked any bytes from server. Non-zero for resumed connections

`int64 first_byte_offset = 1 [(.google.api.field_behavior) = OPTIONAL];`

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