Interface DataPacketOrBuilder (0.1.0)
public interface DataPacketOrBuilder extends MessageOrBuilder
Methods
getData()
public abstract ByteString getData()
Required. Raw data being sent or received by the database.
bytes data = 2 [(.google.api.field_behavior) = REQUIRED];
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 |
long |
The firstByteOffset.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-08-05 UTC."],[],[]]