@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(stream_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, stream_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(event_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, event_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(series_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, series_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(4, getUpdateTime());
    }
    if (offset_ != 0L) {
      output.writeInt64(5, offset_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
The offset of the message that will be used to acknowledge of the message
receiving.
</pre>

<code>int64 offset = 5;</code>

@return The offset.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/EventUpdate.java