@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(url_)) {
            com.google.protobuf.GeneratedMessage.writeString(output, 1, url_);
        }
        if (startedAt_ != 0L) {
            output.writeInt64(2, startedAt_);
        }
        if (endedAt_ != 0L) {
            output.writeInt64(3, endedAt_);
        }
        if (duration_ != 0L) {
            output.writeInt64(4, duration_);
        }
        if (status_ != im.turms.plugin.livekit.core.proto.egress.StreamInfo.Status.ACTIVE
                .getNumber()) {
            output.writeEnum(5, status_);
        }
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(error_)) {
            com.google.protobuf.GeneratedMessage.writeString(output, 6, error_);
        }
        getUnknownFields().writeTo(output);
    }
<code>string error = 6;</code>

@return The bytes for error.
turms-plugins/turms-plugin-livekit/src/main/java/im/turms/plugin/livekit/core/proto/egress/StreamInfo.java