Merge "Deprecate methods that should only be used when the client side protologging flag is off" into main