@java.lang.Override
    public int getSerializedSize() {
        int size = memoizedSize;
        if (size != -1) {
            return size;
        }

        size = 0;
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(url_)) {
            size += com.google.protobuf.GeneratedMessage.computeStringSize(1, url_);
        }
        if (startedAt_ != 0L) {
            size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, startedAt_);
        }
        if (endedAt_ != 0L) {
            size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, endedAt_);
        }
        if (duration_ != 0L) {
            size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, duration_);
        }
        if (status_ != im.turms.plugin.livekit.core.proto.egress.StreamInfo.Status.ACTIVE
                .getNumber()) {
            size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, status_);
        }
        if (!com.google.protobuf.GeneratedMessage.isStringEmpty(error_)) {
            size += com.google.protobuf.GeneratedMessage.computeStringSize(6, error_);
        }
        size += getUnknownFields().getSerializedSize();
        memoizedSize = size;
        return size;
    }
<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